diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-02-15 03:52:22 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-02-15 03:52:22 +0000 |
commit | a90b20cfb6fa5332dd8a4335b16a171feaf5a3a1 (patch) | |
tree | d6cb1a8bafd9b0ad735f27ada22a5c884be64cb5 /transact.c | |
parent | 0b3901aacf0dfb18d83570878919dbdbb7956709 (diff) | |
download | fetchmail-a90b20cfb6fa5332dd8a4335b16a171feaf5a3a1.tar.gz fetchmail-a90b20cfb6fa5332dd8a4335b16a171feaf5a3a1.tar.bz2 fetchmail-a90b20cfb6fa5332dd8a4335b16a171feaf5a3a1.zip |
Minor fixes for 5.9.8.
svn path=/trunk/; revision=3578
Diffstat (limited to 'transact.c')
-rw-r--r-- | transact.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1355,7 +1355,7 @@ va_dcl va_start(ap); #endif #ifdef HAVE_VSNPRINTF - vsnprintf(buf + strlen(buf), sizeof(buf), fmt, ap); + vsnprintf(buf + strlen(buf), sizeof(buf)-strlen(buf), fmt, ap); #else vsprintf(buf + strlen(buf), fmt, ap); #endif @@ -1445,7 +1445,7 @@ va_dcl va_start(ap); #endif #ifdef HAVE_VSNPRINTF - vsnprintf(buf + strlen(buf), sizeof(buf), fmt, ap); + vsnprintf(buf + strlen(buf), sizeof(buf)-strlen(buf), fmt, ap); #else vsprintf(buf + strlen(buf), fmt, ap); #endif |