- Timestamp:
- 2016-03-25T18:07:53Z (8 years ago)
- Branches:
- master
- Children:
- a6005da
- Parents:
- 446a23e
- git-author:
- Dennis Kaarsemaker <dennis@…> (23-02-16 18:41:34)
- git-committer:
- Dennis Kaarsemaker <dennis@…> (25-03-16 18:07:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
conf.c
r446a23e r8e6ecfe 55 55 conf->runmode = RUNMODE_INETD; 56 56 conf->authmode = AUTHMODE_OPEN; 57 conf->auth_backend = NULL; 57 58 conf->auth_pass = NULL; 58 59 conf->oper_pass = NULL; … … 241 242 conf->authmode = AUTHMODE_OPEN; 242 243 } 244 } else if (g_strcasecmp(ini->key, "authbackend") == 0) { 245 if (g_strcasecmp(ini->value, "storage") == 0) { 246 conf->auth_backend = NULL; 247 } else { 248 fprintf(stderr, "Invalid %s value: %s\n", ini->key, ini->value); 249 return 0; 250 } 243 251 } else if (g_strcasecmp(ini->key, "authpassword") == 0) { 244 252 g_free(conf->auth_pass);
Note: See TracChangeset
for help on using the changeset viewer.