Mercurial > pidgin.yaz
comparison src/server.c @ 4201:511c2b63caa4
[gaim-migrate @ 4432]
Some code cleanups to remove warnings and fix up indenting a little.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Sat, 04 Jan 2003 21:01:32 +0000 |
| parents | ebfb80bbe1ed |
| children | a614423c648f |
comparison
equal
deleted
inserted
replaced
| 4200:c8fb43808a4b | 4201:511c2b63caa4 |
|---|---|
| 626 if (!cnv && clistqueue && (away_options & OPT_AWAY_QUEUE)) { | 626 if (!cnv && clistqueue && (away_options & OPT_AWAY_QUEUE)) { |
| 627 /* alright, so we're going to queue it. neat, eh? :) so first we create | 627 /* alright, so we're going to queue it. neat, eh? :) so first we create |
| 628 * something to store the message, and add it to our queue. Then we update | 628 * something to store the message, and add it to our queue. Then we update |
| 629 * the away dialog to indicate that we've queued something. */ | 629 * the away dialog to indicate that we've queued something. */ |
| 630 struct queued_message *qm; | 630 struct queued_message *qm; |
| 631 struct buddy *b; | |
| 632 | 631 |
| 633 qm = g_new0(struct queued_message, 1); | 632 qm = g_new0(struct queued_message, 1); |
| 634 g_snprintf(qm->name, sizeof(qm->name), "%s", name); | 633 g_snprintf(qm->name, sizeof(qm->name), "%s", name); |
| 635 qm->message = g_memdup(message, len == -1 ? strlen(message) + 1 : len); | 634 qm->message = g_memdup(message, len == -1 ? strlen(message) + 1 : len); |
| 636 qm->gc = gc; | 635 qm->gc = gc; |
