libcgi/libcgi-1.0-string.c-make_string.patch

12 lines
257 B
Diff
Raw Permalink Normal View History

--- libcgi-1.0-orig/src/string.c 2008-10-26 11:41:58.000000000 +0100
+++ libcgi-1.0/src/string.c 2008-10-26 12:02:53.000000000 +0100
@@ -584,7 +584,7 @@
va_start(ptr, s);
- va_copy(bkp, str);
+ va_copy(bkp, ptr);
len = strlen(s);
while (*str) {