Skip to content

Commit cf6bfb4

Browse files
author
Олег Переверзев
committed
Format fix, to have no errors in Travis CI
1 parent 8115125 commit cf6bfb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

librabbitmq/amqp_socket.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,9 @@ int amqp_open_socket_inner(char const *hostname, int portnumber,
504504
for (addr = address_list; addr; addr = addr->ai_next) {
505505

506506
now_ns = amqp_get_monotonic_timestamp();
507-
if (0 == now_ns)
507+
if (0 == now_ns) {
508508
return AMQP_STATUS_TIMER_FAILURE;
509+
}
509510

510511
deadline_per_ip.time_point_ns = now_ns + timeout_per_ip;
511512
sockfd = connect_socket(addr, deadline_per_ip);

0 commit comments

Comments
 (0)