Mercurial > pidgin
comparison src/server.c @ 2706:e841b14b5b89
[gaim-migrate @ 2719]
oh
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 10 Nov 2001 08:02:40 +0000 |
parents | 37d80035e77f |
children | 8eb8db9a8449 |
comparison
equal
deleted
inserted
replaced
2705:5f431eefb0f2 | 2706:e841b14b5b89 |
---|---|
185 { | 185 { |
186 if (gc && gc->prpl && gc->prpl->set_away) { | 186 if (gc && gc->prpl && gc->prpl->set_away) { |
187 char *buf = NULL; | 187 char *buf = NULL; |
188 if (message) { | 188 if (message) { |
189 buf = g_malloc(strlen(message) + 1); | 189 buf = g_malloc(strlen(message) + 1); |
190 if (gc->prpl->options & OPT_PROTO_HTML) | 190 if (gc->flags & OPT_CONN_HTML) |
191 strncpy(buf, message, strlen(message) + 1); | 191 strncpy(buf, message, strlen(message) + 1); |
192 else | 192 else |
193 strncpy_nohtml(buf, message, strlen(message) + 1); | 193 strncpy_nohtml(buf, message, strlen(message) + 1); |
194 } | 194 } |
195 | 195 |