From: Cristian Toader Date: Mon, 2 Sep 2013 08:45:09 +0000 (+0300) Subject: make check-spaces fix X-Git-Tag: tor-0.2.5.1-alpha~39^2~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c584537a038cdeede4d52b52a73dcbb3035112a4;p=thirdparty%2Ftor.git make check-spaces fix --- diff --git a/src/common/sandbox.c b/src/common/sandbox.c index 41c3b44d78..a4919121cf 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;