fix double slash (thx Edwin)

remotes/push_mirror/0.96
Tomasz Kojm 15 years ago
parent 8185c4a4b2
commit a4199697fc
  1. 2
      freshclam/manager.c

@ -1887,7 +1887,7 @@ static int updatecustomdb(const char *url, int *signo, const struct optstruct *o
return 70;
}
*pt = 0;
rpath = &url[pt - urlcpy];
rpath = &url[pt - urlcpy + 1];
dbname = strrchr(url, '/') + 1;
if(!dbname || strlen(dbname) < 4) {
logg("DatabaseCustomURL: Incorrect URL\n");

Loading…
Cancel
Save