Fixed several small valgrind detected errors

This commit is contained in:
Michiel Broek
2003-12-16 21:50:32 +00:00
parent 2ab6cacda9
commit 2e58d4339a
19 changed files with 517 additions and 475 deletions

View File

@@ -1112,7 +1112,7 @@ void fill_binkp_list(binkp_list **bll, file_list *fal, off_t offs)
if (stat(fal->local, &tstat) != 0) {
Syslog('!', "$Can't add %s to sendlist", fal->local);
exit;
return;
}
if (strstr(fal->remote, (char *)".pkt"))
nethold += tstat.st_size;