summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-04-22 03:06:02 +0000
committerTheodore Tso <tytso@mit.edu>1995-04-22 03:06:02 +0000
commitd162f2381947f9342f21d402b645d1e5935a3282 (patch)
treeebd0081b2fd05032aa4385e3ee3031afd9d4d472 /src/lib/krb5
parent7b65e189577ff1ca0ce52ba57e4b9d46f043d175 (diff)
downloadkrb5-d162f2381947f9342f21d402b645d1e5935a3282.tar.gz
krb5-d162f2381947f9342f21d402b645d1e5935a3282.tar.xz
krb5-d162f2381947f9342f21d402b645d1e5935a3282.zip
Fix == vs = typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5440 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5')
-rw-r--r--src/lib/krb5/os/init_os_ctx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/krb5/os/init_os_ctx.c b/src/lib/krb5/os/init_os_ctx.c
index d9753ffd3b..fc7737d37e 100644
--- a/src/lib/krb5/os/init_os_ctx.c
+++ b/src/lib/krb5/os/init_os_ctx.c
@@ -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);