comparison src/protocols/gg/gg.c @ 3033:1143524a2eaf

[gaim-migrate @ 3046] Laying the ground work for image send. Also an IRC fix. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 12 Mar 2002 17:21:46 +0000
parents 7a158753b8d6
children dd78d89c910b
comparison
equal deleted inserted replaced
3032:d3536105d581 3033:1143524a2eaf
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)) {