From d162f2381947f9342f21d402b645d1e5935a3282 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 22 Apr 1995 03:06:02 +0000 Subject: [PATCH] Fix == vs = typo git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5440 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/init_os_ctx.c | 4 ++-- 1 file 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 d9753ffd3..fc7737d37 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); -- 2.26.2