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
The dirp should be initialized here
master
lostd
10 years ago
parent
f05f98e4fe
commit
11bebdf23e
1 changed files
with
4 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-5
noice.c
+ 4
- 5
noice.c
View File
@@ -555,11 +555,10 @@ out:
free(dents[i].name);
free(dents);
if (dirp != NULL) {
r = closedir(dirp);
if (r == -1)
printerr(1, "closedir");
}
/* Should never be null */
r = closedir(dirp);
if (r == -1)
printerr(1, "closedir");
goto begin;
}
Write
Preview
|
|
|
|
|
|
x
0
0
0:0
Loading…
Cancel
Save