Make filename_from_path() compile.

svn path=/trunk/netsurf/; revision=10264
This commit is contained in:
Michael Drake 2010-04-07 11:05:24 +00:00
parent 51d619ad4d
commit 65b3dd18e3
1 changed files with 1 additions and 1 deletions

View File

@ -2457,7 +2457,7 @@ char *filename_from_path(char *path)
leafname = malloc(leaflen + 1);
if (!leafname) {
LOG(("malloc failed"));
continue;
return NULL;
}
memcpy(leafname, temp, leaflen + 1);