[OLC patch] Error's in modify.c

From: Tharin2002 (Tharin2002@AOL.COM)
Date: 03/29/98


Hi, I'm adding a olc/improved edit patch and I've come across some errors that
make no sense, I've compared the patch file to the actual file and there is no
differance. The following is the errors I got:

modify.c
modify.c(614) : error C2059: syntax error : '&&'
modify.c(657) : error C2143: syntax error : missing ';' before 'else'
modify.c(658) : error C2143: syntax error : missing ';' before '}'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

And here is the code around those areas:

*snip*

613>       else if <!d->connected && <PLR_FLAGGED<d->character, PLR_MAILING>>>
{
614>         if <<terminator == 1> && *d->str> {
615>         store_mail<d->mail_to, GET_IDNUM<d->character>, *d->str>;
616>              SEND_TO_Q<"Message sent!\r\n", d>;
617>          }

*snip*

651>       if <d->character && !IS_NPC<d->character>>
652>        REMOVE_BIT<PLR_FLAGS<d->character>, PLR_WRITING | PLR_MAILING>;
653>       if <d->backstr> free<d->backstr>;
654>       d->backstr = NULL;
655>       d->str = NULL;
656>      }
657>      else if <!action> strcat<*d->str, "\r\n">;
658>    }

*snip*

Well, it may be someting really easy but I'm new to this whole thing so please
forgive me :) Oh, and sorry for the scroll :)

Tharin


     +------------------------------------------------------------+
     | 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/15/00 PST