Mercurial > pidgin
comparison src/protocols/oscar/oscar.c @ 4246:2a2d6d21f1d7
[gaim-migrate @ 4496]
Remove the builddate and buildtime thingies.
If anyone actually uses this, like fire or something, and you
really need it, let me know and I guess I could put it back in.
I also moved the 1 remaining function from meta.c to util.c,
because I'm weird like that.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 08 Jan 2003 06:56:31 +0000 |
parents | cd84b0fd63fc |
children | 9c7fcb211886 |
comparison
equal
deleted
inserted
replaced
4245:cd84b0fd63fc | 4246:2a2d6d21f1d7 |
---|---|
2813 | 2813 |
2814 static int gaim_parse_motd(aim_session_t *sess, aim_frame_t *fr, ...) { | 2814 static int gaim_parse_motd(aim_session_t *sess, aim_frame_t *fr, ...) { |
2815 char *msg; | 2815 char *msg; |
2816 fu16_t id; | 2816 fu16_t id; |
2817 va_list ap; | 2817 va_list ap; |
2818 char buildbuf[150]; | |
2819 | 2818 |
2820 va_start(ap, fr); | 2819 va_start(ap, fr); |
2821 id = (fu16_t) va_arg(ap, unsigned int); | 2820 id = (fu16_t) va_arg(ap, unsigned int); |
2822 msg = va_arg(ap, char *); | 2821 msg = va_arg(ap, char *); |
2823 va_end(ap); | 2822 va_end(ap); |
2824 | |
2825 aim_getbuildstring(buildbuf, sizeof(buildbuf)); | |
2826 | 2823 |
2827 debug_printf("MOTD: %s (%hu)\n", msg ? msg : "Unknown", id); | 2824 debug_printf("MOTD: %s (%hu)\n", msg ? msg : "Unknown", id); |
2828 if (id < 4) | 2825 if (id < 4) |
2829 do_error_dialog(_("Your AIM connection may be lost."), NULL, GAIM_WARNING); | 2826 do_error_dialog(_("Your AIM connection may be lost."), NULL, GAIM_WARNING); |
2830 | 2827 |