Fix braces in conditional statement.
authorZdeněk Salvet <salvet@ics.muni.cz>
Fri, 31 Aug 2007 14:16:05 +0000 (14:16 +0000)
committerZdeněk Salvet <salvet@ics.muni.cz>
Fri, 31 Aug 2007 14:16:05 +0000 (14:16 +0000)
org.glite.lb.common/src/xml_parse.c.T

index c2c6af1..3a0c88e 100644 (file)
@@ -850,9 +850,10 @@ 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)
+                 if (XMLCtx->eventCode == EDG_WLL_EVENT_UNDEF) {
                        edg_wll_FreeEvent(&(XMLCtx->eventsOutGlobal)[XMLCtx->position]);
-                 XMLCtx->position--;
+                       XMLCtx->position--;
+                 }
                /* fallthough */
          default:
            if (XMLCtx->char_buf) {