From 5543c5b202b045bc5b7d8d4f127c54decd17e943 Mon Sep 17 00:00:00 2001 From: Andrea Shepard Date: Wed, 10 Oct 2012 00:48:36 -0700 Subject: Fix formatting in various places after 6465/6816 work --- src/or/channel.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/or/channel.c') diff --git a/src/or/channel.c b/src/or/channel.c index 1ca5e1a333..570bb37b14 100644 --- a/src/or/channel.c +++ b/src/or/channel.c @@ -1518,7 +1518,7 @@ cell_queue_entry_dup(cell_queue_entry_t *q) rv = tor_malloc(sizeof(*rv)); memcpy(rv, q, sizeof(*rv)); - + return rv; } @@ -1529,7 +1529,8 @@ cell_queue_entry_dup(cell_queue_entry_t *q) */ static void -cell_queue_entry_free(cell_queue_entry_t *q, int handed_off) { +cell_queue_entry_free(cell_queue_entry_t *q, int handed_off) +{ if (!q) return; if (!handed_off) { -- cgit v1.2.3-54-g00ecf