src/protocols/gg/common.c

changeset 8896
8785fb2da2e6
parent 3717
2fc0789e04e8
child 9265
4a0b6fecad64
equal deleted inserted replaced
8895:3ed5738d550a 8896:8785fb2da2e6
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 /*

mercurial