Mercurial > pidgin
comparison plugins/timestamp.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 | 59751fe608c5 |
comparison
equal
deleted
inserted
replaced
| 4200:c8fb43808a4b | 4201:511c2b63caa4 |
|---|---|
| 9 #define TIMESTAMP_DELAY (5 * 60 * 1000) | 9 #define TIMESTAMP_DELAY (5 * 60 * 1000) |
| 10 | 10 |
| 11 GModule *handle; | 11 GModule *handle; |
| 12 GSList *timestamp_timeouts; | 12 GSList *timestamp_timeouts; |
| 13 | 13 |
| 14 gboolean do_timestamp (struct conversation *c) | 14 gboolean do_timestamp (gpointer data) |
| 15 { | 15 { |
| 16 struct conversation *c = data; | |
| 16 char *buf; | 17 char *buf; |
| 17 char mdate[6]; | 18 char mdate[6]; |
| 18 time_t tim = time(NULL); | 19 time_t tim = time(NULL); |
| 19 | 20 |
| 20 if (!g_list_find(conversations, c)) | 21 if (!g_list_find(conversations, c)) |
