Mercurial > pidgin
comparison src/protocols/msn/buddyicon.c @ 6786:8efafdc38718
[gaim-migrate @ 7325]
It won't work yet, but this is part of the framework for the MSN User
Display image stuff.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 07 Sep 2003 22:35:00 +0000 |
parents | b7e113a59b51 |
children |
comparison
equal
deleted
inserted
replaced
6785:eb8f949095a5 | 6786:8efafdc38718 |
---|---|
485 | 485 |
486 if (gaim_account_get_buddy_icon(account) == NULL) | 486 if (gaim_account_get_buddy_icon(account) == NULL) |
487 return; /* We don't have an icon to send. */ | 487 return; /* We don't have an icon to send. */ |
488 | 488 |
489 if (!get_buddy_icon_info(account, NULL, &md5sum, | 489 if (!get_buddy_icon_info(account, NULL, &md5sum, |
490 &file_size, &base64_size)) { | 490 &file_size, &base64_size)) |
491 { | |
491 return; | 492 return; |
492 } | 493 } |
493 | 494 |
494 if (file_size > MAX_BUDDY_ICON_FILE_SIZE) { | 495 if (file_size > MAX_BUDDY_ICON_FILE_SIZE) |
496 { | |
495 gaim_debug(GAIM_DEBUG_ERROR, "msn", | 497 gaim_debug(GAIM_DEBUG_ERROR, "msn", |
496 "The buddy icon is too large to send. Must be no more " | 498 "The buddy icon is too large to send. Must be no more " |
497 "than %d bytes!\n", MAX_BUDDY_ICON_FILE_SIZE); | 499 "than %d bytes!\n", MAX_BUDDY_ICON_FILE_SIZE); |
498 return; | 500 return; |
499 } | 501 } |