summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/clientapi/op_client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/clientapi/op_client.c b/src/core/clientapi/op_client.c
index 3ccb776..539f687 100644
--- a/src/core/clientapi/op_client.c
+++ b/src/core/clientapi/op_client.c
@@ -1236,6 +1236,8 @@ axis2_op_client_two_way_send(
}
}
status = axis2_engine_receive(engine, env, response);
+ if(status != AXIS2_SUCCESS )
+ return NULL;
}
}
else
@@ -1436,4 +1438,4 @@ axis2_op_client_set_reuse(
axis2_bool_t reuse)
{
op_client->reuse = reuse;
-}
+} \ No newline at end of file