Mercurial > pidgin.yaz
comparison src/protocols/gg/common.c @ 8896:136b4e159d04
[gaim-migrate @ 9665]
Fix a gadu-gadu warning about the number of steps when signing on.
And make debugging info go to the debug window rather than spewing
all over my pretty terminal. I have to get it dry cleaned now.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 06 May 2004 22:38:01 +0000 |
parents | 988485669631 |
children | 6a1f2c444ee7 |
comparison
equal
deleted
inserted
replaced
8895:a4c2a6ab4322 | 8896:136b4e159d04 |
---|---|
1 /* $Id: common.c 3850 2002-10-16 19:57:03Z hermanator $ */ | 1 /* $Id: common.c 9665 2004-05-06 22:38:01Z thekingant $ */ |
2 | 2 |
3 /* | 3 /* |
4 * (C) Copyright 2001 Wojtek Kaniewski <wojtekka@irc.pl>, | 4 * (C) Copyright 2001 Wojtek Kaniewski <wojtekka@irc.pl>, |
5 * Robert J. Wo¼ny <speedy@ziew.org> | 5 * Robert J. Wo¼ny <speedy@ziew.org> |
6 * | 6 * |
15 * | 15 * |
16 * You should have received a copy of the GNU General Public License | 16 * You should have received a copy of the GNU General Public License |
17 * along with this program; if not, write to the Free Software | 17 * along with this program; if not, write to the Free Software |
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
19 */ | 19 */ |
20 | |
21 #include "debug.h" | |
20 | 22 |
21 #include <stdio.h> | 23 #include <stdio.h> |
22 #include <stdlib.h> | 24 #include <stdlib.h> |
23 #ifndef _WIN32 | 25 #ifndef _WIN32 |
24 #include <unistd.h> | 26 #include <unistd.h> |
62 { | 64 { |
63 va_list ap; | 65 va_list ap; |
64 | 66 |
65 if ((gg_debug_level & level)) { | 67 if ((gg_debug_level & level)) { |
66 va_start(ap, format); | 68 va_start(ap, format); |
67 vprintf(format, ap); | 69 /* vprintf(format, ap); */ |
70 gaim_debug_vargs(GAIM_DEBUG_INFO, "gg", format, ap); | |
68 va_end(ap); | 71 va_end(ap); |
69 } | 72 } |
70 } | 73 } |
71 | 74 |
72 /* | 75 /* |