Commit e9604e46 authored by jdelange's avatar jdelange
Browse files

* po-hi-c/src/drivers/po_hi_driver_sockets.c

   - Report error when sending through a socket failed


git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@3595 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 91f863f1
......@@ -197,6 +197,11 @@ int __po_hi_driver_sockets_send (__po_hi_task_id task_id,
if (len != size_to_write)
{
#if __PO_HI_MONITOR_ENABLED
__po_hi_monitor_report_failure_device (remote_device, po_hi_monitor_failure_value);
#endif
__DEBUGMSG (" [error write() length in file %s, line%d ]\n", __FILE__, __LINE__);
close (__po_hi_c_sockets_write_sockets[remote_device]);
__po_hi_c_sockets_write_sockets[remote_device] = -1;
......
Supports Markdown
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