problem with redit and exit keywords

From: Angus Mezick (angus@EDGIL.CCMAIL.COMPUSERVE.COM)
Date: 12/15/97


     Any one running Oasis might want to try redit'ing a room and adding an
     exit.  Choose to enter a keyword for the exit, and just hit enter,
     meaning no keyword.  This crashed me.  anyone else?

     My solution looks like this:
       if(arg&&*arg)
             OLC_EXIT(d)->keyword = str_dup(arg);
          else
             OLC_EXIT(d)->keyword=NULL;

     luck
     --Angus


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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