Move end label into correct position
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Sun, 26 Jul 2009 18:23:08 +0000 (19:23 +0100)
committerDerrick Brashear <shadow@dementia.org>
Mon, 27 Jul 2009 18:29:56 +0000 (11:29 -0700)
The end label was in the wrong #ifdef block in order to actually be referenced
in the case where USEIFADDR is unset

Reviewed-on: http://gerrit.openafs.org/226
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>

src/afs/afs_server.c

index 0e17d67..af54c69 100644 (file)
@@ -1523,8 +1523,10 @@ static int afs_SetServerPrefs(struct srvAddr *sa) {
            afsi_SetServerIPRank(sa, ifa);
     }}
 #endif
-    end:
 #endif                         /* USEIFADDR */
+#ifndef USEIFADDR
+    end:
+#endif
 #endif                         /* AFS_SUN5_ENV */
 #endif                         /* else AFS_USERSPACE_IP_ADDR */
     if (sa)