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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to