/*
* Copyright 2013 Samsung Electronics Co., Ltd
*
- * Licensed under the Flora License, Version 1.0 (the "License");
+ * Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
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);
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);
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;
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);