comparison src/protocols/oscar/bstream.c @ 4624:a964972cb361

[gaim-migrate @ 4915] Thanks to CmdrChalumpa for a lot of this code. Vincas: I think I've improved on your methods a bit, too. I employed some Kiaras-Furo shading, and-- Strongbad: I'll improve on your methods! I replied to your patch with a lil more detail. Thanks! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 28 Feb 2003 04:26:37 +0000
parents 07283934dedd
children 94635db7c6af
comparison
equal deleted inserted replaced
4623:a44382e8e6be 4624:a964972cb361
228 228
229 if (aimbs_getrawbuf(bs, ob, len) < len) { 229 if (aimbs_getrawbuf(bs, ob, len) < len) {
230 free(ob); 230 free(ob);
231 return NULL; 231 return NULL;
232 } 232 }
233
234 if (ob[0] == '\0') {
235 free(ob);
236 return NULL;
237 }
233 238
234 ob[len] = '\0'; 239 ob[len] = '\0';
235 240
236 return ob; 241 return ob;
237 } 242 }