Update of /cvsroot/gaim/gaim/src/protocols/icq
In directory usw-pr-cvs1:/tmp/cvs-serv19507/src/protocols/icq
Modified Files:
gaim_icq.c
Log Message:
rewrote the html parser in gtkimhtml. yes, that's really all i did. the reason for the massive change is because i added a length argument, which then needed to be propogated down to everything that would ever receive anything that would get drawn to the window.
the new parser isn't any faster. that wasn't my goal. it's much more understandable now (hopefully, anyway).
Index: gaim_icq.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/icq/gaim_icq.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- gaim_icq.c 2001/11/26 20:39:53 1.22
+++ gaim_icq.c 2001/12/08 09:48:52 1.23
@@ -114,7 +114,7 @@
g_snprintf(tmp, BUF_LONG, "%s", data);
g_snprintf(buf, sizeof buf, "%lu", uin);
strip_linefeed(tmp);
- serv_got_im(gc, buf, tmp, 0, time((time_t)NULL));
+ serv_got_im(gc, buf, tmp, 0, time(NULL), -1);
g_free(tmp);
}
@@ -169,7 +169,7 @@
char *msg = g_malloc(BUF_LONG), buf[256];
g_snprintf(msg, BUF_LONG, "<A HREF=\"%s\">%s</A>", url, descr);
g_snprintf(buf, 256, "%lu", uin);
- serv_got_im(gc, buf, msg, 0, time((time_t)NULL));
+ serv_got_im(gc, buf, msg, 0, time(NULL), -1);
g_free(msg);
}
@@ -211,7 +211,7 @@
char *who = g_strdup_printf("ICQ Web Pager: %s (%s)", nick, email);
char *what = g_malloc(BUF_LONG);
g_snprintf(what, BUF_LONG, "%s", msg);
- serv_got_im(gc, who, what, 0, time((time_t)NULL));
+ serv_got_im(gc, who, what, 0, time(NULL), -1);
g_free(who);
g_free(what);
}
@@ -223,7 +223,7 @@
char *who = g_strdup_printf("ICQ Mail Express: %s (%s)", nick, email);
char *what = g_malloc(BUF_LONG);
g_snprintf(what, BUF_LONG, "%s", msg);
- serv_got_im(gc, who, what, 0, time((time_t)NULL));
+ serv_got_im(gc, who, what, 0, time(NULL), -1);
g_free(who);
g_free(what);
}
|