X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/e327acece45bfb1c17ad6c41e8e4b6d388aa6287..fcb69e5cdcfdfd0bdcea2127e5f4c9133a2282b9:/rsync.c diff --git a/rsync.c b/rsync.c index 5ee50c08..3e50f38d 100644 --- a/rsync.c +++ b/rsync.c @@ -91,7 +91,7 @@ int delete_file(char *fname) if (strcmp(dname,".")==0 || strcmp(dname,"..")==0) continue; - slprintf(buf, sizeof(buf), "%s/%s", fname, dname); + snprintf(buf, sizeof(buf), "%s/%s", fname, dname); if (verbose > 0) rprintf(FINFO,"deleting %s\n", buf); if (delete_file(buf) != 0) {