Mercurial > pidgin
comparison src/server.c @ 13789:99688ab310c8
[gaim-migrate @ 16201]
Prepend last_auto_response structs to the list, instead of appending them. This probably won't make a significant difference.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 29 May 2006 17:18:17 +0000 |
parents | b76c6de0c3b5 |
children | a9ff4499d9ce |
comparison
equal
deleted
inserted
replaced
13788:ef95bcc62330 | 13789:99688ab310c8 |
---|---|
106 | 106 |
107 lar = (struct last_auto_response *)g_new0(struct last_auto_response, 1); | 107 lar = (struct last_auto_response *)g_new0(struct last_auto_response, 1); |
108 g_snprintf(lar->name, sizeof(lar->name), "%s", name); | 108 g_snprintf(lar->name, sizeof(lar->name), "%s", name); |
109 lar->gc = gc; | 109 lar->gc = gc; |
110 lar->sent = 0; | 110 lar->sent = 0; |
111 last_auto_responses = g_slist_append(last_auto_responses, lar); | 111 last_auto_responses = g_slist_prepend(last_auto_responses, lar); |
112 | 112 |
113 return lar; | 113 return lar; |
114 } | 114 } |
115 | 115 |
116 int serv_send_im(GaimConnection *gc, const char *name, const char *message, | 116 int serv_send_im(GaimConnection *gc, const char *name, const char *message, |