diff options
| author | bwarsaw | 2000-11-09 06:18:02 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-11-09 06:18:02 +0000 |
| commit | 7c912c530807f02141ca63b5973ac16e2ebe5865 (patch) | |
| tree | 382faf982f9fb96a7b667be569f86fe4433a941c /src/vsnprintf.c | |
| parent | e1e244b4bfcd793536594574447f740d6f742677 (diff) | |
| download | mailman-7c912c530807f02141ca63b5973ac16e2ebe5865.tar.gz mailman-7c912c530807f02141ca63b5973ac16e2ebe5865.tar.zst mailman-7c912c530807f02141ca63b5973ac16e2ebe5865.zip | |
Noam Zeilberger correctly notices that the prototype for vsnprintf()
is incorrect. This closes SF bug #121185
Diffstat (limited to '')
| -rw-r--r-- | src/vsnprintf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/vsnprintf.c b/src/vsnprintf.c index 637ccc38c..877d156f7 100644 --- a/src/vsnprintf.c +++ b/src/vsnprintf.c @@ -43,16 +43,13 @@ #include <strings.h> #include <stdarg.h> -int vsnprintf(char* s, int n, char* fmt, ...) +int vsnprintf(char* s, int n, char* fmt, va_list stack) { char *f, *sf = 0; int i, on, argl = 0; char myf[10], buf[20]; char *arg, *myfp; - va_list stack; - va_start(stack, fmt); - on = n; f = fmt; arg = 0; |
