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: 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)
__po_hi_monitor_report_failure_device (remote_device, po_hi_monitor_failure_value);
__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