Fix == vs = typo
authorTheodore Tso <tytso@mit.edu>
Sat, 22 Apr 1995 03:06:02 +0000 (03:06 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 22 Apr 1995 03:06:02 +0000 (03:06 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5440 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/init_os_ctx.c

index d9753ffd3b5b1adf4e60ad912a8ee139b51fdd05..fc7737d37e0ae3d714d92b10d9683c604af81019 100644 (file)
@@ -32,7 +32,7 @@ krb5_os_init_context(ctx)
        krb5_os_context os_ctx;
        krb5_error_code retval;
        char *name;
-       char *filenames[2];
+       const char *filenames[2];
        
        if (ctx->os_context)
                return 0;
@@ -51,7 +51,7 @@ krb5_os_init_context(ctx)
         * including a config file from user's home directory here.
         */
        name = getenv("KRB5_CONFIG");
-       filenames[0] == name ? name : DEFAULT_PROFILE_FILENAME;
+       filenames[0] = name ? name : DEFAULT_PROFILE_FILENAME;
        filenames[1] = 0;
 
        retval = profile_init(filenames, &ctx->profile);