|
From: xevuz <xe...@us...> - 2007-12-29 09:21:33
|
Update of /cvsroot/chix/chix/src/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv348/src/lib Modified Files: chix_credit.c chix_info.c Log Message: chikka server side changes. sequence no for list data (blist, buddy search, inbox/outbox, credit list) now gets incremented. can't use pkt->seqn as event id anymore. end of list data will also have the seqn incremented. quick fix for now. Index: chix_credit.c =================================================================== RCS file: /cvsroot/chix/chix/src/lib/chix_credit.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- chix_credit.c 29 Dec 2007 09:08:10 -0000 1.9 +++ chix_credit.c 29 Dec 2007 09:21:29 -0000 1.10 @@ -53,7 +53,7 @@ char buf[32]; int alloted, used; - clist = chix_event_data_get(cl, pkt->seqn); + clist = chix_event_data_get(cl, CLIST_TYPE); if (!clist) return 0; cr = calloc(1, sizeof(Chix_Credit)); Index: chix_info.c =================================================================== RCS file: /cvsroot/chix/chix/src/lib/chix_info.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- chix_info.c 29 Dec 2007 09:08:10 -0000 1.15 +++ chix_info.c 29 Dec 2007 09:21:29 -0000 1.16 @@ -144,7 +144,7 @@ Chix_Info_Result *res; Chix_Info *info; - res = chix_event_data_get(cl, pkt->seqn); + res = chix_event_data_get(cl, INFO_RESULT_TYPE); if (!res) return 0; info = _chix_info_new(pkt); |