summaryrefslogtreecommitdiff
path: root/src/master_rpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/master_rpc.c')
-rw-r--r--src/master_rpc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/master_rpc.c b/src/master_rpc.c
index 984ec1a..904e22d 100644
--- a/src/master_rpc.c
+++ b/src/master_rpc.c
@@ -122,7 +122,7 @@ static gboolean cmd_consumer(gpointer user_data)
destroy_command(command);
} else {
if (com_core_packet_async_send(client_fd(), command->packet, 0u, done_cb, command) < 0) {
- DbgPrint("Failed to send a packet to master\n");
+ ErrPrint("Failed to send a packet to master\n");
if (command->ret_cb)
command->ret_cb(command->handler, NULL, command->data);
destroy_command(command);
@@ -173,8 +173,6 @@ static int done_cb(pid_t pid, int handle, const struct packet *packet, void *dat
ret = LB_STATUS_ERROR_INVALID;
}
- DbgPrint("[%s] Returns: %d\n", packet_command(packet), ret);
-
out:
if (command->ret_cb)
command->ret_cb(command->handler, packet, command->data);
@@ -248,8 +246,6 @@ int master_rpc_clear_fault_package(const char *pkgname)
if (!pkgname)
return LB_STATUS_ERROR_INVALID;
- DbgPrint("Clear requests of the fault package(%s)\n", pkgname);
-
dlist_foreach_safe(s_info.cmd_list, l, n, command) {
if (!command->handler)
continue;
@@ -272,8 +268,6 @@ int master_rpc_clear_all_request(void)
struct dlist *l;
struct dlist *n;
- DbgPrint("Clear all pended requests\n");
-
dlist_foreach_safe(s_info.cmd_list, l, n, command) {
s_info.cmd_list = dlist_remove(s_info.cmd_list, l);