You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by sa...@apache.org on 2006/09/11 06:39:14 UTC

svn commit: r442094 - /webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c

Author: samisa
Date: Sun Sep 10 21:39:13 2006
New Revision: 442094

URL: http://svn.apache.org/viewvc?view=rev&rev=442094
Log:
Fixed the segfault bug

Modified:
    webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c

Modified: webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c?view=diff&rev=442094&r1=442093&r2=442094
==============================================================================
--- webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c (original)
+++ webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c Sun Sep 10 21:39:13 2006
@@ -187,6 +187,12 @@
             ctx = AXIS2_OP_CTX_GET_BASE(op_ctx, env);
             property = AXIS2_CTX_GET_PROPERTY(ctx, env, 
                 SANDESHA2_WSRM_COMMON_SEQ, AXIS2_FALSE);
+            if (!property)
+            {
+                /* it could be the case that RM is not used by client but only 
+                   engaged at server */
+                return AXIS2_SUCCESS;
+            }
             seq_part = (sandesha2_seq_t *)  AXIS2_PROPERTY_GET_VALUE(property, 
                     env);
             /* end test code */



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org