This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Change scope to always check the correct return value
master
lostd
10 years ago
parent
3c45733f47
commit
0aefc2f496
1 changed files
with
9 additions
and
8 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-8
noice.c
+ 9
- 8
noice.c
View File
@@ -748,15 +748,16 @@ moretyping:
if (r == 1)
nowtyping = 0;
/* Check regex errors */
if (tmp != NULL)
if (tmp != NULL)
{
r = setfilter(&re, tmp);
if (r != 0)
if (nowtyping) {
goto moretyping;
} else {
free(tmp);
goto nochange;
}
if (r != 0)
if (nowtyping) {
goto moretyping;
} else {
free(tmp);
goto nochange;
}
}
/* Copy or reset filter */
free(filter);
if (tmp != NULL)
Write
Preview
Loading…
Cancel
Save