Mercurial > pidgin.yaz
diff plugins/icq/filesession.c @ 1309:0a766047b4fd
[gaim-migrate @ 1319]
Yay, new icqlib
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 19 Dec 2000 10:08:29 +0000 |
parents | 201ec77f3a60 |
children | 4c510ca3563f |
line wrap: on
line diff
--- a/plugins/icq/filesession.c Tue Dec 19 08:37:12 2000 +0000 +++ b/plugins/icq/filesession.c Tue Dec 19 10:08:29 2000 +0000 @@ -12,6 +12,7 @@ #define write _write #endif +#include "icqlib.h" #include "filesession.h" #include "list.h" #include "icqpacket.h" @@ -36,7 +37,7 @@ p->total_files=0; p->total_transferred_bytes=0; p->working_dir[0]=0; - list_insert(icqlink->icq_FileSessions, 0, p); + list_insert(icqlink->d->icq_FileSessions, 0, p); } return p; @@ -74,7 +75,7 @@ icq_FileSession *icq_FindFileSession(ICQLINK *icqlink, DWORD uin, unsigned long id) { - return list_traverse(icqlink->icq_FileSessions, _icq_FindFileSession, + return list_traverse(icqlink->d->icq_FileSessions, _icq_FindFileSession, uin, id); } @@ -218,7 +219,7 @@ icq_FileSessionDelete(p); - list_remove(p->icqlink->icq_FileSessions, p); + list_remove(p->icqlink->d->icq_FileSessions, p); } void icq_FileSessionSetWorkingDir(icq_FileSession *p, const char *dir)