Skip to content

Commit 0216d5a

Browse files
author
rtevans
committed
Merge branch 'master' of https://github.com/TACC/tacc_stats
was necessary
2 parents bc1f9d6 + c3d81e1 commit 0216d5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

monitor/src/stats_buffer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ static int send(struct stats_buffer *sf)
4343

4444
if (!socket) {
4545
ERROR("socket failed to initialize");
46+
return -1;
4647
}
4748
status = amqp_socket_open(socket, sf->sf_host, atoi(sf->sf_port));
4849
if (status) {
4950
ERROR("socket failed to open");
51+
return -1;
5052
}
5153

5254
amqp_login(conn, "/", 0, 131072, 0, AMQP_SASL_METHOD_PLAIN,

0 commit comments

Comments
 (0)