Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/roster.c @ 1476:77afd831f8f7
Avoid mixed declarations and code
Build failures reported by H. D. Oezbilen.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 17 Apr 2008 21:01:09 +0200 |
parents | ef09de538e8f |
children | 9fafea381eb8 |
comparison
equal
deleted
inserted
replaced
1475:ef09de538e8f | 1476:77afd831f8f7 |
---|---|
666 | 666 |
667 if (buddylist && (new_roster_item || !g_list_find(buddylist, roster_usr))) | 667 if (buddylist && (new_roster_item || !g_list_find(buddylist, roster_usr))) |
668 buddylist_build(); | 668 buddylist_build(); |
669 | 669 |
670 if (unread_list_modified) { | 670 if (unread_list_modified) { |
671 guint unread_count = g_slist_length(unread_list); | |
671 hlog_save_state(); | 672 hlog_save_state(); |
672 guint unread_count = g_slist_length(unread_list); | |
673 /* Call external command */ | 673 /* Call external command */ |
674 hk_ext_cmd("", 'U', (guchar)MIN(255, unread_count), NULL); | 674 hk_ext_cmd("", 'U', (guchar)MIN(255, unread_count), NULL); |
675 } | 675 } |
676 } | 676 } |
677 | 677 |