fix annoying printfs that should be ERRs

SVN revision: 55043
This commit is contained in:
Mike Blumenkrantz 2010-11-28 21:51:07 +00:00
parent 8dceeeee5b
commit fd44ecf46c
1 changed files with 4 additions and 5 deletions

View File

@ -435,7 +435,7 @@ _ecore_con_info_ares_host_cb(Ecore_Con_CAres *arg,
case ARES_SUCCESS: case ARES_SUCCESS:
if (!hostent->h_addr_list[0]) if (!hostent->h_addr_list[0])
{ {
fprintf(stderr, "No IP found\n"); ERR("No IP found");
goto on_error; goto on_error;
} }
@ -484,7 +484,7 @@ _ecore_con_info_ares_host_cb(Ecore_Con_CAres *arg,
} }
default: default:
fprintf(stderr, "Unknown addrtype %i\n", hostent->h_addrtype); ERR("Unknown addrtype %i", hostent->h_addrtype);
goto on_error; goto on_error;
} }
@ -555,8 +555,7 @@ _ecore_con_info_ares_host_cb(Ecore_Con_CAres *arg,
goto on_error; goto on_error;
default: default:
fprintf(stderr, ERR("Unknown status returned by c-ares: %i assuming error",
"Unknown status returned by c-ares: %i assuming error\n",
status); status);
goto on_error; goto on_error;
} }
@ -564,7 +563,7 @@ _ecore_con_info_ares_host_cb(Ecore_Con_CAres *arg,
return; return;
on_mem_error: on_mem_error:
fprintf(stderr, "Not enough memory\n"); ERR("Not enough memory");
on_error: on_error:
arg->done_cb(arg->data, NULL); arg->done_cb(arg->data, NULL);