Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/TACC/tacc_stats
Browse files Browse the repository at this point in the history
was necessary
  • Loading branch information
rtevans committed Feb 8, 2018
2 parents bc1f9d6 + c3d81e1 commit 0216d5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions monitor/src/stats_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ static int send(struct stats_buffer *sf)

if (!socket) {
ERROR("socket failed to initialize");
return -1;
}
status = amqp_socket_open(socket, sf->sf_host, atoi(sf->sf_port));
if (status) {
ERROR("socket failed to open");
return -1;
}

amqp_login(conn, "/", 0, 131072, 0, AMQP_SASL_METHOD_PLAIN,
Expand Down

0 comments on commit 0216d5a

Please sign in to comment.