mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-26 23:58:19 -04:00
Fixed a typo.
This commit is contained in:
1 parent
2f24fb18c4
commit
1e7098b5e3
1 file changed
+3
-2
@@ -418,7 +418,8 @@ static void log_formatted(enum logcode code,
|
||||
l = strlen(n);
|
||||
|
||||
if (l + ((int)(s - &buf[0])) >= sizeof(buf)) {
|
||||
rprintf(FERROR,"buffer overflow expanding %%%c -- exiting\n",
|
||||
rprintf(FERROR,
|
||||
"buffer overflow expanding %%%c -- exiting\n",
|
||||
p[0]);
|
||||
exit_cleanup(RERR_MESSAGEIO);
|
||||
}
|
||||
@@ -428,7 +429,7 @@ static void log_formatted(enum logcode code,
|
||||
memmove(s+(l-1), s+1, strlen(s+1)+1);
|
||||
}
|
||||
|
||||
/* Copy in n but NOT its nul, because the format sting
|
||||
/* Copy in n but NOT its nul, because the format string
|
||||
* probably continues after this. */
|
||||
memcpy(p, n, l);
|
||||
|
||||
|
||||
Reference in new issue
Block a user