do_set error

From: Quinn ShadowStalker (quinn@MUD.COMSYS.NET)
Date: 06/20/98

Ok< Ive been working on making passwords setable (because if someone gets
hacked I dont want them to lose their character), but whenever I try and
compile I always get this error.

act.wizard.c: In function `perform_set':
act.wizard.c:2589: `is_file' undeclared (first use in this function)
act.wizard.c:2589: (Each undeclared identifier is reported only once
act.wizard.c:2589: for each function it appears in.)
act.wizard.c:2590: warning: `return' with no value, in function returning
act.wizard.c:2593: warning: `return' with no value, in function returning
act.wizard.c:2595: `tmp_store' undeclared (first use in this function)

and the is_file part is already defined in do_set, and the tmp_store I
dunno what could be wrong with that, well anyway here is the code.

  case 45:
    if (!is_file)
    if (GET_LEVEL(vict) >= LVL_ADMIN) {
      send_to_char("You cannot change that.\r\n", ch);
    strncpy(tmp_store.pwd, CRYPT(val_arg,,
    tmp_store.pwd[MAX_PWD_LENGTH] = '\0';
    sprintf(buf, "Password changed to '%s'.", val_arg);

|Matt Roach - owner of OnyxMUD            | "I dont have bugs... just    |
|And Coder/Builder of Quaratine           | randomly created features!"  |
||                              |
|                          |                              |

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST