diff --git a/src/common/slurm_protocol_api.c b/src/common/slurm_protocol_api.c
index 4b670dc14c6627cba3b8587085f6e1bba4c26535..c49961337e469809497bb2323d5fcb9649baedd5 100644
--- a/src/common/slurm_protocol_api.c
+++ b/src/common/slurm_protocol_api.c
@@ -721,7 +721,7 @@ int slurm_unpack_slurm_addr_no_alloc(slurm_addr * slurm_address,
  * IN request_msg        - slurm_msg the request msg
  * IN rc                 - the return_code to send back to the client
  */
-void slurm_send_rc_msg(slurm_msg_t *msg, int rc)
+int slurm_send_rc_msg(slurm_msg_t *msg, int rc)
 {
         slurm_msg_t resp_msg;
         return_code_msg_t rc_msg;
@@ -733,7 +733,7 @@ void slurm_send_rc_msg(slurm_msg_t *msg, int rc)
         resp_msg.data     = &rc_msg;
 
         /* send message */
-        slurm_send_node_msg(msg->conn_fd, &resp_msg);
+        return slurm_send_node_msg(msg->conn_fd, &resp_msg);
 }
 
 /*
@@ -862,8 +862,6 @@ static int _send_recv_rc_msg(slurm_fd fd, slurm_msg_t *req, int *rc,
         if (msg.msg_type != RESPONSE_SLURM_RC) 
                 slurm_seterrno_ret(SLURM_UNEXPECTED_MSG_ERROR);
 
-        verbose("got rc msg");
-
         *rc = ((return_code_msg_t *) msg.data)->return_code;
         slurm_free_return_code_msg(msg.data);
 
diff --git a/src/common/slurm_protocol_api.h b/src/common/slurm_protocol_api.h
index ee57636460ae655c2f647255ac13dbe71c9d322c..848be2279cd735422f310bfa17468a5e0390b8c7 100644
--- a/src/common/slurm_protocol_api.h
+++ b/src/common/slurm_protocol_api.h
@@ -375,7 +375,7 @@ int inline slurm_unpack_slurm_addr_no_alloc(slurm_addr * slurm_address,
  * IN request_msg	- slurm_msg the request msg
  * IN rc 		- the return_code to send back to the client
  */
-void slurm_send_rc_msg(slurm_msg_t * request_msg, int rc);
+int slurm_send_rc_msg(slurm_msg_t * request_msg, int rc);
 
 /* slurm_send_recv_controller_msg
  * opens a connection to the controller, sends the controller a message,