changeset 12:55c4fdb2b9d6

Fix a typing bug in patch...
author jcid
date Thu, 18 Oct 2007 14:54:10 +0200
parents 4a5942beffdf
children 43a14f7e2c2c
files dlib/dlib.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dlib/dlib.c	Sun Oct 14 04:21:53 2007 +0200
+++ b/dlib/dlib.c	Thu Oct 18 14:54:10 2007 +0200
@@ -348,7 +348,7 @@
       va_list argp2;         /* Needed in case of looping on non-32bit arch */
       while (1) {
          va_copy(argp2, argp);
-         n = vsnprintf(ds->str + ds->len, ds->sz - ds->len, format, argp);
+         n = vsnprintf(ds->str + ds->len, ds->sz - ds->len, format, argp2);
          va_end(argp2);
          if (n > -1 && n < ds->sz - ds->len) {
             ds->len += n;      /* Success! */