diff options
Diffstat (limited to 'www/clearsilver/files/patch-cgi__html.c')
-rw-r--r-- | www/clearsilver/files/patch-cgi__html.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/www/clearsilver/files/patch-cgi__html.c b/www/clearsilver/files/patch-cgi__html.c new file mode 100644 index 000000000000..450bb56a75a7 --- /dev/null +++ b/www/clearsilver/files/patch-cgi__html.c @@ -0,0 +1,29 @@ +--- ./cgi/html.c.orig 2006-10-20 01:26:35.000000000 +0200 ++++ ./cgi/html.c 2012-04-23 18:02:55.987510632 +0200 +@@ -388,7 +388,7 @@ + url = (char *) malloc(url_len+1); + if (url == NULL) + { +- err = nerr_raise(NERR_NOMEM, ++ err = nerr_raise(NERR_NOMEM, "%s", + "Unable to allocate memory to convert url"); + break; + } +@@ -401,7 +401,7 @@ + url = (char *) malloc(url_len+1); + if (url == NULL) + { +- err = nerr_raise(NERR_NOMEM, ++ err = nerr_raise(NERR_NOMEM, "%s", + "Unable to allocate memory to convert url"); + break; + } +@@ -419,7 +419,7 @@ + free(esc_url); + if (new_url == NULL) + { +- err = nerr_raise(NERR_NOMEM, "Unable to allocate memory to convert url"); ++ err = nerr_raise(NERR_NOMEM, "%s", "Unable to allocate memory to convert url"); + break; + } + err = string_append (out, new_url); |