[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] make check-spaces fix



commit c584537a038cdeede4d52b52a73dcbb3035112a4
Author: Cristian Toader <cristian.matei.toader@xxxxxxxxx>
Date:   Mon Sep 2 11:45:09 2013 +0300

    make check-spaces fix
---
 src/common/sandbox.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index 41c3b44..a491912 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -918,7 +918,7 @@ sandbox_getaddrinfo(const char *name, struct addrinfo **res)
   *res = NULL;
 
   for (el = sb_addr_info; el; el = el->next) {
-    if(!strcmp(el->name, name)) {
+    if (!strcmp(el->name, name)) {
       *res = (struct addrinfo *)malloc(sizeof(struct addrinfo));
       if (!res) {
         return -2;
@@ -941,7 +941,7 @@ sandbox_add_addrinfo(const char* name)
   sb_addr_info_t *el = NULL;
 
   el = (sb_addr_info_t*) malloc(sizeof(sb_addr_info_t));
-  if(!el) {
+  if (!el) {
     log_err(LD_BUG,"(Sandbox) failed to allocate addr info!");
     ret = -2;
     goto out;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits