- check for null buf in show_progress
rprintf(FERROR,"mkdir %s : %s (1)\n",name,strerror(errno));
exit_cleanup(1);
} else {
rprintf(FERROR,"mkdir %s : %s (1)\n",name,strerror(errno));
exit_cleanup(1);
} else {
- rprintf(FINFO,"created directory %s\n",name);
+ if (verbose > 0)
+ rprintf(FINFO,"created directory %s\n",name);
}
if (!push_dir(name, 0)) {
}
if (!push_dir(name, 0)) {
else
last_match = offset;
else
last_match = offset;
- show_progress(last_match, buf->size);
+ if (buf)
+ show_progress(last_match, buf->size);
if (i == -1) end_progress();
}
if (i == -1) end_progress();
}