comparison src/protocols/gg/gg.c @ 7108:6faeeecab0dc

[gaim-migrate @ 7673] Put the rest of util.[ch] into namespaces and sectioned off the functions. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 01 Oct 2003 07:15:53 +0000
parents 7fdac700deb1
children bf630f7dfdcd
comparison
equal deleted inserted replaced
7107:9220c7490cd1 7108:6faeeecab0dc
1 /* 1 /*
2 * gaim - Gadu-Gadu Protocol Plugin 2 * gaim - Gadu-Gadu Protocol Plugin
3 * $Id: gg.c 7627 2003-09-30 07:47:38Z chipx86 $ 3 * $Id: gg.c 7673 2003-10-01 07:15:53Z chipx86 $
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
308 308
309 g_snprintf(user, sizeof(user), "%lu", e->event.msg.sender); 309 g_snprintf(user, sizeof(user), "%lu", e->event.msg.sender);
310 if (!allowed_uin(gc, user)) 310 if (!allowed_uin(gc, user))
311 break; 311 break;
312 imsg = charset_convert(e->event.msg.message, "CP1250", "UTF-8"); 312 imsg = charset_convert(e->event.msg.message, "CP1250", "UTF-8");
313 strip_linefeed(imsg); 313 gaim_str_strip_linefeed(imsg);
314 /* e->event.msg.time - we don't know what this time is for */ 314 /* e->event.msg.time - we don't know what this time is for */
315 serv_got_im(gc, user, imsg, 0, time(NULL)); 315 serv_got_im(gc, user, imsg, 0, time(NULL));
316 g_free(imsg); 316 g_free(imsg);
317 } 317 }
318 break; 318 break;