| 1 /* |
1 /* |
| 2 * gaim - Gadu-Gadu Protocol Plugin |
2 * gaim - Gadu-Gadu Protocol Plugin |
| 3 * $Id: gg.c 2928 2001-12-22 00:41:30Z warmenhoven $ |
3 * $Id: gg.c 3046 2002-03-12 17:21:46Z seanegan $ |
| 4 * |
4 * |
| 5 * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> |
5 * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> |
| 6 * |
6 * |
| 7 * This program is free software; you can redistribute it and/or modify |
7 * This program is free software; you can redistribute it and/or modify |
| 8 * it under the terms of the GNU General Public License as published by |
8 * it under the terms of the GNU General Public License as published by |
| 583 gg_free_session(gd->sess); |
583 gg_free_session(gd->sess); |
| 584 g_free(gc->proto_data); |
584 g_free(gc->proto_data); |
| 585 gd->own_status = GG_STATUS_NOT_AVAIL; |
585 gd->own_status = GG_STATUS_NOT_AVAIL; |
| 586 } |
586 } |
| 587 |
587 |
| 588 static int agg_send_im(struct gaim_connection *gc, char *who, char *msg, int flags) |
588 static int agg_send_im(struct gaim_connection *gc, char *who, char *msg, int len, int flags) |
| 589 { |
589 { |
| 590 struct agg_data *gd = (struct agg_data *)gc->proto_data; |
590 struct agg_data *gd = (struct agg_data *)gc->proto_data; |
| 591 gchar *imsg; |
591 gchar *imsg; |
| 592 |
592 |
| 593 if (invalid_uin(who)) { |
593 if (invalid_uin(who)) { |