git-svn: trunk@2697
Tomasz Kojm authored on 2007/02/11 02:45:54... | ... |
@@ -466,7 +466,7 @@ int client(const struct optstruct *opt, int *infected) |
466 | 466 |
perror(fullpath); |
467 | 467 |
errors++; |
468 | 468 |
} else { |
469 |
- if(strlen(fullpath) < 2 || (fullpath[0] != '/' && fullpath[0] != '\\' && fullpath[1] != ':')) { |
|
469 |
+ if(strcmp(fullpath, "/") && (strlen(fullpath) < 2 || (fullpath[0] != '/' && fullpath[0] != '\\' && fullpath[1] != ':'))) { |
|
470 | 470 |
fullpath = abpath(thefilename); |
471 | 471 |
free(thefilename); |
472 | 472 |
|