Commit 9c4f9caa authored by naoi's avatar naoi

fix queue full

parent 663b1d8b
...@@ -470,6 +470,7 @@ int itti_send_msg_to_task(task_id_t destination_task_id, instance_t instance, Me ...@@ -470,6 +470,7 @@ int itti_send_msg_to_task(task_id_t destination_task_id, instance_t instance, Me
itti_get_task_name(destination_task_id)); itti_get_task_name(destination_task_id));
int result = itti_free(origin_task_id, message); int result = itti_free(origin_task_id, message);
AssertFatal( result == EXIT_SUCCESS, "Failed to free memory (%d)!\n", result); AssertFatal( result == EXIT_SUCCESS, "Failed to free memory (%d)!\n", result);
return 0;
#else #else
AssertFatal(0, "Error: lfds611_queue_enqueue returns 0, queue is full, exiting\n"); AssertFatal(0, "Error: lfds611_queue_enqueue returns 0, queue is full, exiting\n");
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment