projects
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use retval from sprintf while walking buffers
[exim.git]
/
src
/
src
/
host.c
diff --git
a/src/src/host.c
b/src/src/host.c
index 4cdd18b895fcd2f4a96cc723aab125a8d9137671..07d9491d47486213944a16f2053230570c4ed66f 100644
(file)
--- a/
src/src/host.c
+++ b/
src/src/host.c
@@
-1160,10
+1160,7
@@
tt--; /* lose final separator */
if (mask < 0)
*tt = 0;
else
- {
- sprintf(CS tt, "/%d", mask);
- while (*tt) tt++;
- }
+ tt += sprintf(CS tt, "/%d", mask);
return tt - buffer;
}