Fix location of label to avoid compiler warnings
authorAlan T. DeKok <aland@freeradius.org>
Mon, 16 Jan 2012 20:39:47 +0000 (21:39 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 16 Jan 2012 20:41:27 +0000 (21:41 +0100)
src/modules/rlm_detail/rlm_detail.c
src/modules/rlm_linelog/rlm_linelog.c

index 7e6eec8..81b5352 100644 (file)
@@ -353,9 +353,9 @@ static int do_detail(void *instance, REQUEST *request, RADIUS_PACKET *packet,
                        RDEBUG2("rlm_detail: Unable to change system group of \"%s\"", buffer);
                }
        }
-#endif
 
  skip_group:
+#endif
 
        /*
         *      Post a timestamp
index 6773978..1257555 100644 (file)
@@ -296,9 +296,10 @@ static int do_linelog(void *instance, REQUEST *request)
                        RDEBUG2("Unable to change system group of \"%s\"", buffer);
                }
        }
-#endif
 
  skip_group:
+#endif
+
        /*
         *      FIXME: Check length.
         */