comparison src/protocols/oscar/ft.c @ 3012:08327a2f25aa

[gaim-migrate @ 3025] Lots of people have a problem with people who were added to their MSN reverse list while they were offline, not being prompted to add them to their allow list. Jason Willis fixed that. Also added a global buddy icon animation preference by Luke Schierer. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 06 Mar 2002 00:18:02 +0000
parents 7239a392486c
children 1143524a2eaf
comparison
equal deleted inserted replaced
3011:c809f2ed3d92 3012:08327a2f25aa
1113 while (payloadlength - recvd) { 1113 while (payloadlength - recvd) {
1114 if (payloadlength - recvd >= 1024) 1114 if (payloadlength - recvd >= 1024)
1115 i = aim_recv(conn->fd, msg2, 1024); 1115 i = aim_recv(conn->fd, msg2, 1024);
1116 else 1116 else
1117 i = aim_recv(conn->fd, msg2, payloadlength - recvd); 1117 i = aim_recv(conn->fd, msg2, payloadlength - recvd);
1118 if (i == 0) { 1118 if (i <= 0) {
1119 free(msg); 1119 free(msg);
1120 return -1; 1120 return -1;
1121 } 1121 }
1122 recvd = recvd + i; 1122 recvd = recvd + i;
1123 msg2 = msg2 + i; 1123 msg2 = msg2 + i;