diff options
Diffstat (limited to 'eurephiadm/commands/users.c')
-rw-r--r-- | eurephiadm/commands/users.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/eurephiadm/commands/users.c b/eurephiadm/commands/users.c index 52cf253..ff30ee5 100644 --- a/eurephiadm/commands/users.c +++ b/eurephiadm/commands/users.c @@ -453,7 +453,7 @@ int account_activation(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES * xmlDoc *user_xml = NULL, *update_xml = NULL, *srch_xml = NULL, *tmp_xml = NULL, *res_xml = NULL; xmlNode *user_n = NULL, *update_n = NULL, *srch_root = NULL, *tmp_n = NULL, *fmap_n = NULL; eurephiaRESULT *res = NULL; - char *uid_str = NULL, *activated = NULL, *deactivated = NULL, *actmode_str = NULL, *newpwd = NULL; + char *uid_str = NULL, *activated = NULL, *deactivated = NULL, *newpwd = NULL; int i, actmode = 0, rc = 0, crit_set = 0; xmlChar flags[34]; @@ -469,16 +469,12 @@ int account_activation(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES * if( (strcmp(argv[0], "--activate") == 0) || (strcmp(argv[0], "-a") == 0) ) { actmode = 'a'; - actmode_str = "activated"; } else if( (strcmp(argv[0], "--deactivate") == 0) || (strcmp(argv[0], "-d") == 0) ) { actmode = 'd'; - actmode_str = "deactivated"; } else if( (strcmp(argv[0], "--delete") == 0) || (strcmp(argv[0], "-D") == 0) ) { actmode = 'D'; - actmode_str = "deleted"; } else if( (strcmp(argv[0], "--password") == 0) || (strcmp(argv[0], "-p") == 0) ) { actmode = 'p'; - actmode_str = "updated with new password"; } else { fprintf(stderr, "%s: System error - illegal users mode'%s'\n", MODULE, argv[0]); return 1; |