diff options
Diffstat (limited to 'src/shared.c')
| -rw-r--r-- | src/shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared.c b/src/shared.c index 771c44f..093e766 100644 --- a/src/shared.c +++ b/src/shared.c | |||
| @@ -137,7 +137,7 @@ int wwbuf(int fd, const unsigned char *buf, int len) { | |||
| 137 | // Thanks Beej! | 137 | // Thanks Beej! |
| 138 | 138 | ||
| 139 | // dirname but less retarded hopefully | 139 | // dirname but less retarded hopefully |
| 140 | char *xdirname(const char * const path) { | 140 | char * xdirname(const char * const path) { |
| 141 | char *tmp = NULL; | 141 | char *tmp = NULL; |
| 142 | if(!path) { // Path being null is a special case which should return super early, before anything else | 142 | if(!path) { // Path being null is a special case which should return super early, before anything else |
| 143 | tmp = strdup("."); | 143 | tmp = strdup("."); |
