diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1998-06-27 20:47:27 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1998-06-27 20:47:27 +0000 |
commit | 2ab4aaac95b79df596dd5dd92fdc950f62749132 (patch) | |
tree | 6174d260124c5eb6ad5d6f5ffc2d18187449fae7 /mail/popper | |
parent | dbf926fd902683087775c15eda488a72f52bf278 (diff) | |
download | ports-2ab4aaac95b79df596dd5dd92fdc950f62749132.tar.gz ports-2ab4aaac95b79df596dd5dd92fdc950f62749132.zip |
Notes
Diffstat (limited to 'mail/popper')
-rw-r--r-- | mail/popper/files/patch-ag | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/popper/files/patch-ag b/mail/popper/files/patch-ag index 6000477a31ae..662330daffb8 100644 --- a/mail/popper/files/patch-ag +++ b/mail/popper/files/patch-ag @@ -28,14 +28,14 @@ if (format) #ifdef HAVE_VPRINTF - vsprintf(mp,format,ap); -+ vsnprintf(mp,len,format,ap); ++ vsnprintf(mp,len-3,format,ap); #else # ifdef PYRAMID - (void)sprintf(mp,format, arg1, arg2, arg3, arg4, arg5, arg6); -+ (void)snprintf(mp,len,format, arg1, arg2, arg3, arg4, arg5, arg6); ++ (void)snprintf(mp,len-3,format, arg1, arg2, arg3, arg4, arg5, arg6); # else - (void)sprintf(mp,format,((int *)ap)[0],((int *)ap)[1],((int *)ap)[2], -+ (void)snprintf(mp,len,format,((int *)ap)[0],((int *)ap)[1],((int *)ap)[2], ++ (void)snprintf(mp,len-3,format,((int *)ap)[0],((int *)ap)[1],((int *)ap)[2], ((int *)ap)[3],((int *)ap)[4]); # endif #endif |