projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LOOK AT ME I AM COMMITTING AGAIN
[citadel.git]
/
citadel
/
user_ops.c
diff --git
a/citadel/user_ops.c
b/citadel/user_ops.c
index 4ae077862c857a8e0ef58770a017bacc205de25b..1e8792d71d6a0cb9681c9bad800650a4da28e427 100644
(file)
--- a/
citadel/user_ops.c
+++ b/
citadel/user_ops.c
@@
-529,8
+529,8
@@
int CtdlLoginExistingUser(char *authname, const char *trythisname)
/* If a "master user" is defined, handle its authentication if specified */
CC->is_master = 0;
/* If a "master user" is defined, handle its authentication if specified */
CC->is_master = 0;
- if ( (
strlen(CtdlGetConfigStr("c_master_user")) > 0
) &&
- (
strlen(CtdlGetConfigStr("c_master_pass")) > 0
) &&
+ if ( (
!IsEmptyStr(CtdlGetConfigStr("c_master_user"))
) &&
+ (
!IsEmptyStr(CtdlGetConfigStr("c_master_pass"))
) &&
(authname != NULL) &&
(!strcasecmp(authname, CtdlGetConfigStr("c_master_user"))) )
{
(authname != NULL) &&
(!strcasecmp(authname, CtdlGetConfigStr("c_master_user"))) )
{