Fix the build on 4.X.

Reported by:	pointyhat via kris
This commit is contained in:
Joe Marcus Clarke 2005-04-02 08:46:36 +00:00
parent 0d9507efb9
commit 332f0fa398
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132156
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,19 @@
--- src/mwgaim.c.orig Thu Mar 24 12:49:15 2005
+++ src/mwgaim.c Thu Mar 24 12:49:50 2005
@@ -1651,6 +1651,7 @@ static void im_recv_mime(struct mwConver
GString *atstr;
gsize len = (end - start);
char *tt;
+ gsize mov;
atstr = g_string_new("");
if(alt) g_string_append_printf(atstr, " alt=\"%s\"", alt);
@@ -1661,7 +1662,7 @@ static void im_recv_mime(struct mwConver
DEBUG_INFO("rewriting IMG\n{%s}\n", tt);
g_free(tt);
- gsize mov = g_snprintf(start, len, "<img%s id=\"%i\"",
+ mov = g_snprintf(start, len, "<img%s id=\"%i\"",
atstr->str, img);
while(mov < len) start[mov++] = ' ';

View file

@ -0,0 +1,19 @@
--- src/mwgaim.c.orig Thu Mar 24 12:49:15 2005
+++ src/mwgaim.c Thu Mar 24 12:49:50 2005
@@ -1651,6 +1651,7 @@ static void im_recv_mime(struct mwConver
GString *atstr;
gsize len = (end - start);
char *tt;
+ gsize mov;
atstr = g_string_new("");
if(alt) g_string_append_printf(atstr, " alt=\"%s\"", alt);
@@ -1661,7 +1662,7 @@ static void im_recv_mime(struct mwConver
DEBUG_INFO("rewriting IMG\n{%s}\n", tt);
g_free(tt);
- gsize mov = g_snprintf(start, len, "<img%s id=\"%i\"",
+ mov = g_snprintf(start, len, "<img%s id=\"%i\"",
atstr->str, img);
while(mov < len) start[mov++] = ' ';