Skip to content
Snippets Groups Projects
Commit c584537a authored by Cristian Toader's avatar Cristian Toader
Browse files

make check-spaces fix

parent 1ef0b2e1
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment