summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-05-15 16:55:56 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-05-15 16:55:56 +0000
commit4c7d444d0ada3e2b5362d269dcc7f9999710e657 (patch)
tree57052c8a2aa087a22bd65e05b9a0a210224ece2e /examples
parentd4e328ac1eac521a8086239f744b74958a6e5e0a (diff)
downloadATCD-4c7d444d0ada3e2b5362d269dcc7f9999710e657.tar.gz
*** empty log message ***
Diffstat (limited to 'examples')
-rw-r--r--examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp b/examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp
index 24af867d410..aa4645e34ec 100644
--- a/examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp
+++ b/examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp
@@ -55,7 +55,7 @@ init_buffer (size_t index)
ACE_ERROR_RETURN ((LM_ERROR,
"(%P|%t) %p\n",
"recv_n failed"),
- 0);
+ -1);
else
{
len = ntohl (len);
@@ -69,6 +69,7 @@ init_buffer (size_t index)
-1);
buffer_array[index].len_ = len;
}
+ return 0;
}
static void