ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/modules/yahoo2 yahoo.c,1.48,1.49


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/modules/yahoo2 yahoo.c,1.48,1.49
Date: Sat, 22 Mar 2003 14:49:54 -0500

Update of /cvsroot/ayttm/ayttm/modules/yahoo2
In directory subversions:/tmp/cvs-serv23178/modules/yahoo2

Modified Files:
        yahoo.c 
Log Message:
Fix change_user_name
No idea why, but the memcpy left yab->dbid==0



Index: yahoo.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/yahoo2/yahoo.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- yahoo.c     21 Mar 2003 11:19:07 -0000      1.48
+++ yahoo.c     22 Mar 2003 19:49:51 -0000      1.49
@@ -1859,8 +1859,10 @@
        yab = y_new0(struct yab, 1);
 
        /* if there's already an entry, don't destroy it */
-       if(bud->yab_entry)
+       if(bud->yab_entry) {
                memcpy(yab, bud->yab_entry, sizeof(yab));
+               yab->dbid = bud->yab_entry->dbid;
+       }
 
        yab->id = bud->id;
 /*     yab->nname = nick; */ /* too many hassles with nicks */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]