Proper statement grouping after if.
authorZdeněk Salvet <salvet@ics.muni.cz>
Mon, 27 Aug 2007 16:29:03 +0000 (16:29 +0000)
committerZdeněk Salvet <salvet@ics.muni.cz>
Mon, 27 Aug 2007 16:29:03 +0000 (16:29 +0000)
org.glite.lb.common/src/xml_parse.c.T

index 9c06dc0..04afdcf 100644 (file)
@@ -853,10 +853,11 @@ static void endQueryEvents(void *data, const char *el UNUSED_VAR)
            }
            break;
          case 2: 
-                 /* skip events of unknown type */
-                 if (XMLCtx->eventCode == EDG_WLL_EVENT_UNDEF)
+               /* skip events of unknown type */
+               if (XMLCtx->eventCode == EDG_WLL_EVENT_UNDEF) {
                        edg_wll_FreeEvent(&(XMLCtx->eventsOutGlobal)[XMLCtx->position]);
-                 XMLCtx->position--;
+                       XMLCtx->position--;
+               }
                /* fallthough */
          default:
            if (XMLCtx->char_buf) {