comparison mcabber/src/hbuf.c @ 1423:757ebe4df0b9

Replace DEBUG_ENABLE with ENABLE_DEBUG
author Mikael Berthe <mikael@lilotux.net>
date Sun, 17 Feb 2008 21:15:30 +0100
parents 366ef500c522
children bb1cc8902d0e
comparison
equal deleted inserted replaced
1422:3cd104b41f26 1423:757ebe4df0b9
410 hlen = g_list_length(hbuf); 410 hlen = g_list_length(hbuf);
411 411
412 return g_list_nth(hbuf, pc*hlen/100); 412 return g_list_nth(hbuf, pc*hlen/100);
413 } 413 }
414 414
415 #ifdef DEBUG_ENABLE 415 #ifdef ENABLE_DEBUG
416 // hbuf_get_blocks_number() 416 // hbuf_get_blocks_number()
417 // Returns the number of allocated hbuf_block's. 417 // Returns the number of allocated hbuf_block's.
418 guint hbuf_get_blocks_number(GList *hbuf) 418 guint hbuf_get_blocks_number(GList *hbuf)
419 { 419 {
420 hbuf_block *hbuf_b_elt; 420 hbuf_block *hbuf_b_elt;