Mercurial > pidgin.yaz
comparison src/protocols/msn/history.c @ 10296:a7b2fd5efcf2
[gaim-migrate @ 11476]
Some "random updates" updates from patch 1077274 by Felipe Contreras:
"Some changes in the behaviour of slpcalls (for FT),
free some unused structures and properly close
switchboard connections."
Looks good to me, and seems to have fixed a mysterious FT problem that I had
been pretending didn't exist.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Thu, 02 Dec 2004 16:07:26 +0000 |
parents | ab6636c5a136 |
children | 1b48fbbd0e61 |
comparison
equal
deleted
inserted
replaced
10295:0cf2a686266e | 10296:a7b2fd5efcf2 |
---|---|
65 } | 65 } |
66 | 66 |
67 void | 67 void |
68 msn_history_add(MsnHistory *history, MsnTransaction *trans) | 68 msn_history_add(MsnHistory *history, MsnTransaction *trans) |
69 { | 69 { |
70 GQueue *queue = history->queue; | 70 GQueue *queue; |
71 | |
72 g_return_if_fail(history != NULL); | |
73 g_return_if_fail(trans != NULL); | |
74 | |
75 queue = history->queue; | |
71 | 76 |
72 trans->trId = history->trId++; | 77 trans->trId = history->trId++; |
73 | 78 |
74 g_queue_push_tail(queue, trans); | 79 g_queue_push_tail(queue, trans); |
75 | 80 |