From: Theodore Tso Date: Sat, 22 Apr 1995 03:06:02 +0000 (+0000) Subject: Fix == vs = typo X-Git-Tag: krb5-1.0-beta5~306 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d162f2381947f9342f21d402b645d1e5935a3282;p=krb5.git Fix == vs = typo git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5440 dc483132-0cff-0310-8789-dd5450dbe970 --- 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);