svn commit: r691289 - /webservices/sandesha/trunk/c/src/util/fault_mgr.c

[email protected]
Newsgroups gmane.comp.apache.webservices.fx.devel
Message-ID <[email protected]>
Author: damitha
Date: Tue Sep  2 08:56:05 2008
New Revision: 691289

URL: http://svn.apache.org/viewvc?rev=691289&view=rev
Log:
check_for_unknown_sequence is modified

Modified:
    webservices/sandesha/trunk/c/src/util/fault_mgr.c

Modified: webservices/sandesha/trunk/c/src/util/fault_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/util/fault_mgr.c?rev=691289&r1=691288&r2=691289&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/util/fault_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/util/fault_mgr.c Tue Sep  2 08:56:05 2008
@@ -236,15 +236,7 @@
                 tmp_id = sandesha2_next_msg_bean_get_seq_id(next_bean, env);
                 AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] tmp_sequence_id:%s", tmp_id);
                 AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] sequence_id:%s", seq_id);
-                if(contains)
-                {
-                    if(next_bean)
-                    {
-                        sandesha2_next_msg_bean_free(next_bean, env);
-                    }
-
-                    continue;
-                }
+                
                 if(!axutil_strcmp(seq_id, tmp_id))
                 {
                     if(next_bean)
@@ -260,6 +252,8 @@
                     {
                         sandesha2_next_msg_bean_free(next_bean, env);
                     }
+
+                    continue;
                 }
             }
 
@@ -268,11 +262,12 @@
 
         if(contains)
         {
-            AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Not a valid sequence message");
+            AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Valid sequence message");
             valid_seq = AXIS2_TRUE;
         }
         else
         {
+            AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Not a valid sequence message");
             valid_seq = AXIS2_FALSE;
         }
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.