Fixed small archiver select problem

This commit is contained in:
Michiel Broek
2006-02-26 11:19:02 +00:00
parent 4ddb5863e7
commit 9293010a0b
3 changed files with 15 additions and 3 deletions

View File

@@ -222,6 +222,7 @@ static int sendzfile(char *rn)
(unsigned int)st.st_size, (int)st.st_mtime + (int)(st.st_mtime % 2), st.st_mode);
bufl = strlen(txbuf);
*(strchr(txbuf,' ')) = '\0'; /*hope no blanks in filename*/
Syslog('z', "txbuf \"%s\"", printable(txbuf, 0));
Eofseen = 0;
rc = zsendfile(txbuf,bufl);