Mercurial > hg
diff mcabber/src/hbuf.c @ 1241:3a4018f18bdf
Cosmetics
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 16 Jun 2007 19:41:09 +0200 |
parents | 79c396678f1b |
children | dbc907b2d92f |
line wrap: on
line diff
--- a/mcabber/src/hbuf.c Sat Jun 16 17:48:37 2007 +0200 +++ b/mcabber/src/hbuf.c Sat Jun 16 19:41:09 2007 +0200 @@ -175,7 +175,6 @@ // Let's use an old block, and free the extra blocks if needed char *allocated_block = NULL; while (n >= maxhbufblocks) { - /* --- */ int start_of_block = 1; for (hbuf_elt = hbuf_head; hbuf_elt; hbuf_elt = hbuf_head) { hbuf_b_elt = (hbuf_block*)(hbuf_elt->data); @@ -191,7 +190,6 @@ hbuf_head = *p_hbuf = g_list_delete_link(hbuf_head, hbuf_elt); } n--; - /* --- */ } memset(allocated_block, 0, HBB_BLOCKSIZE); hbuf_block_elt->ptr = allocated_block;