--- a/libpurple/protocols/yahoo/yahoo_filexfer.c Thu Aug 11 16:24:26 2011 +0000
+++ b/libpurple/protocols/yahoo/yahoo_filexfer.c Thu Aug 11 16:30:51 2011 +0000
@@ -1428,7 +1428,7 @@
time_str = ctime(&unix_time);
- strcpy(time_str + strlen(time_str) - 1, "\0");
+ time_str[strlen(time_str) - 1] = '\0'; xd->txbuf = g_strdup_printf("HTTP/1.0 200 OK\r\n"