fix plugin.c to compile on Windows
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 28 Jun 2006 21:45:20 +0000 (21:45 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 28 Jun 2006 21:45:20 +0000 (21:45 +0000)
 plugins.c: Move a brace so that the Windows case falls
            within the conditional

ticket: new
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18248 dc483132-0cff-0310-8789-dd5450dbe970

src/util/support/plugins.c

index d0752e3229244b666aec78ea675be3320d5ef26e..bccb522508718a76329bf84d70775799c0594358 100644 (file)
@@ -500,11 +500,11 @@ krb5int_open_plugin_dirs (const char * const *dirnames,
             }
             
             if (dir != NULL) { closedir (dir); }
-        }
 #else
-       /* Until a Windows implementation of this code is implemented */
-       err = ENOENT;
+           /* Until a Windows implementation of this code is implemented */
+           err = ENOENT;
 #endif /* _WIN32 */
+        }
     }
         
     if (err == ENOENT) {