Mercurial > hg
comparison mcabber/src/roster.c @ 1475:ef09de538e8f
Fix compilation error (reported by H. D. Oezbilen)
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 15 Apr 2008 07:48:46 +0200 |
parents | 3bf11085c6a5 |
children | 77afd831f8f7 |
comparison
equal
deleted
inserted
replaced
1474:92d79aecd034 | 1475:ef09de538e8f |
---|---|
914 roster_usr->flags &= ~ROSTER_FLAG_HIDE; | 914 roster_usr->flags &= ~ROSTER_FLAG_HIDE; |
915 } | 915 } |
916 | 916 |
917 const char *buddy_getjid(gpointer rosterdata) | 917 const char *buddy_getjid(gpointer rosterdata) |
918 { | 918 { |
919 roster *roster_usr = rosterdata; | |
919 if (!rosterdata) | 920 if (!rosterdata) |
920 return NULL; | 921 return NULL; |
921 roster *roster_usr = rosterdata; | |
922 return roster_usr->jid; | 922 return roster_usr->jid; |
923 } | 923 } |
924 | 924 |
925 // buddy_setgroup() | 925 // buddy_setgroup() |
926 // Change the group of current buddy | 926 // Change the group of current buddy |