Skip to content

Commit

Permalink
Format fix, to have no errors in Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Олег Переверзев committed Jun 28, 2019
1 parent 8115125 commit cf6bfb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion librabbitmq/amqp_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,9 @@ int amqp_open_socket_inner(char const *hostname, int portnumber,
for (addr = address_list; addr; addr = addr->ai_next) {

now_ns = amqp_get_monotonic_timestamp();
if (0 == now_ns)
if (0 == now_ns) {
return AMQP_STATUS_TIMER_FAILURE;
}

deadline_per_ip.time_point_ns = now_ns + timeout_per_ip;
sockfd = connect_socket(addr, deadline_per_ip);
Expand Down

0 comments on commit cf6bfb4

Please sign in to comment.