fix PBS seqcode updating broken after CREAM merge
authorMichal Voců <michal@ruk.cuni.cz>
Wed, 8 Aug 2012 10:21:03 +0000 (10:21 +0000)
committerMichal Voců <michal@ruk.cuni.cz>
Wed, 8 Aug 2012 10:21:03 +0000 (10:21 +0000)
org.glite.lb.common/src/context.c

index 47aaa51..6402f93 100644 (file)
@@ -542,6 +542,8 @@ int edg_wll_IncSequenceCode(edg_wll_Context ctx)
        switch (ctx->p_seqcode.type) {
                case EDG_WLL_SEQ_CREAM:
                        /* fall through */
+               case EDG_WLL_SEQ_PBS:
+                       /* fall through */
                case EDG_WLL_SEQ_DUPLICATE:
                        /* fall through */
                case EDG_WLL_SEQ_NORMAL:
@@ -554,9 +556,6 @@ int edg_wll_IncSequenceCode(edg_wll_Context ctx)
 
                        ctx->p_seqcode.c[ctx->p_source]++;
                        break;
-               case EDG_WLL_SEQ_PBS:
-                       /* no action */
-                       break;
                default:
                        break;
        }