Mercurial > pidgin
comparison src/server.c @ 5308:6aa785e55d0f
[gaim-migrate @ 5680]
its good when things compile
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Tue, 06 May 2003 00:34:54 +0000 |
parents | 51903cf0c039 |
children | 3f625896f932 |
comparison
equal
deleted
inserted
replaced
5307:8ecf4de21db8 | 5308:6aa785e55d0f |
---|---|
290 } | 290 } |
291 | 291 |
292 | 292 |
293 void serv_set_away(struct gaim_connection *gc, char *state, char *message) | 293 void serv_set_away(struct gaim_connection *gc, char *state, char *message) |
294 { | 294 { |
295 GaimPluginProtocolInfo *prpl_info = NULL; | |
296 | |
295 if (!strcmp(gc->away_state, state) && !strcmp(gc->away, message)) | 297 if (!strcmp(gc->away_state, state) && !strcmp(gc->away, message)) |
296 return; | 298 return; |
297 | 299 |
298 GaimPluginProtocolInfo *prpl_info = NULL; | |
299 | 300 |
300 if (gc != NULL && gc->prpl != NULL) | 301 if (gc != NULL && gc->prpl != NULL) |
301 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); | 302 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); |
302 | 303 |
303 if (prpl_info && prpl_info->set_away) { | 304 if (prpl_info && prpl_info->set_away) { |