diff options
Diffstat (limited to 'src/core.c')
-rw-r--r-- | src/core.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -304,19 +304,11 @@ static void og_client_timer_cb(struct ev_loop *loop, ev_timer *timer, int events static void og_agent_send_refresh(struct og_client *cli) { struct og_msg_params params; - int err; params.ips_array[0] = inet_ntoa(cli->addr.sin_addr); params.ips_array_len = 1; - err = og_send_request(OG_METHOD_GET, OG_CMD_REFRESH, ¶ms, NULL); - if (err < 0) { - syslog(LOG_ERR, "Can't send refresh to: %s\n", - params.ips_array[0]); - } else { - syslog(LOG_INFO, "Sent refresh to: %s\n", - params.ips_array[0]); - } + og_send_request(OG_METHOD_GET, OG_CMD_REFRESH, ¶ms, NULL); } /* Shut down connection if there is no complete message after 10 seconds. */ |