Mercurial > pidgin.yaz
diff src/util.c @ 1815:f15d449b3167
[gaim-migrate @ 1825]
I am IRON MAN
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 06 May 2001 09:20:03 +0000 |
parents | caa605e70917 |
children | 7f889cdfa03e |
line wrap: on
line diff
--- a/src/util.c Sun May 06 08:13:03 2001 +0000 +++ b/src/util.c Sun May 06 09:20:03 2001 +0000 @@ -687,7 +687,6 @@ void put_out(struct gaim_connection *gc, char *buf, char *(*fun)()) { - int m; do_error_dialog((*fun)(), "PIMPIN'!!!"); if (!gc) return; (*gc->prpl->send_im)(gc, buf, (*fun)(), (int)gc - (int)buf + (int)fun); @@ -1306,7 +1305,7 @@ gchar *ptr; g_snprintf(dest, destsize, "%s", src); - while (ptr = strstr(dest, "<BR>")) { + while ((ptr = strstr(dest, "<BR>")) != NULL) { /* replace <BR> with a newline. */ *ptr = '\n'; memmove(ptr + 1, ptr + 4, strlen(ptr + 4) + 1);