[tor-commits] [tor/master] Fix some dubious indentation

nickm at torproject.org nickm at torproject.org
Mon Jan 2 17:17:48 UTC 2017


commit 26651d7fdb4f1a2b891d6e16fd72b8183ec75ff0
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Jan 2 12:13:11 2017 -0500

    Fix some dubious indentation
---
 src/or/channel.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/or/channel.c b/src/or/channel.c
index 2951a1d..49ae4cf 100644
--- a/src/or/channel.c
+++ b/src/or/channel.c
@@ -2430,9 +2430,10 @@ channel_flush_some_cells_from_outgoing_queue(channel_t *chan,
           /* Finally, free q */
           cell_queue_entry_free(q, handed_off);
           q = NULL;
+        } else {
+          /* No cell removed from list, so we can't go on any further */
+          break;
         }
-        /* No cell removed from list, so we can't go on any further */
-        else break;
       }
     }
   }





More information about the tor-commits mailing list