[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.51,1.52
From: |
Colin Leroy <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.51,1.52 |
Date: |
Wed, 29 Jan 2003 10:16:43 -0500 |
Update of /cvsroot/ayttm/ayttm/modules/msn2
In directory subversions:/tmp/cvs-serv19769
Modified Files:
msn.C
Log Message:
fix some bugs with default-group masq as _("Buddies")
Index: msn.C
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/msn2/msn.C,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- msn.C 28 Jan 2003 13:08:38 -0000 1.51
+++ msn.C 29 Jan 2003 15:16:41 -0000 1.52
@@ -1244,13 +1244,20 @@
void ext_got_group(char *id, char *name)
{
char *eb_name = NULL;
- if (!strcmp(name,"~"))
+
+ if (!strcmp(name,"~")) {
eb_name = _("Buddies");
- else
- eb_name = Utf8ToStr(name);
- eb_debug(DBG_MSN,"got group id %s, %s\n",id,eb_name);
- msn_grouplist = value_pair_add (msn_grouplist, eb_name, strdup(id));
- if(!find_grouplist_by_name(eb_name))
+ if (!value_pair_get_value(msn_grouplist, eb_name)) {
+ msn_grouplist = value_pair_add (msn_grouplist, eb_name,
strdup(id));
+ eb_debug(DBG_MSN,"got group id %s, %s\n",id,eb_name);
+ }
+ }
+ eb_name = Utf8ToStr(name);
+ if (!value_pair_get_value(msn_grouplist, eb_name)) {
+ msn_grouplist = value_pair_add (msn_grouplist, eb_name,
strdup(id));
+ eb_debug(DBG_MSN,"got group id %s, %s\n",id,eb_name);
+ }
+ if(strcmp(name,"~") && !find_grouplist_by_name(eb_name))
add_group(eb_name);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.51,1.52,
Colin Leroy <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm/src util.c,1.33,1.34 util.h,1.18,1.19
- Next by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.244,1.245 configure.in,1.240,1.241
- Previous by thread:
[Ayttm-commits] CVS: ayttm/src util.c,1.33,1.34 util.h,1.18,1.19
- Next by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.244,1.245 configure.in,1.240,1.241
- Index(es):