Re: [OLC patch] Error's in modify.c 98 04:20:11 pm"

From: Christian Loth (sg618lo@UNIDUI.UNI-DUISBURG.DE)
Date: 03/29/98


Hiya,

  As I don't know the full code I can only guess, here is my guess:

Use either d->str or (*d).str but I think *d->str doesn't look right.

- Chris


> O... um... sorry for spammin te list... but... tey ARE ( and )s :) I was typin
> it from a minimized dos window so tey LOOKED like < and >s ;) Um.. ok, Here is
> te real code:
>
>  *snip*
>
>      else if (!d->connected && (PLR_FLAGGED(d->character, PLR_MAILING))) {
>       if ((terminator == 1> && *d->str) {
>       store_mail(d->mail_to, GET_IDNUM(d->character), *d->str);
>          SEND_TO_Q("Message sent!\r\n", d);
>       }
>
> *snip*
>
> and te next:
>
> *snip*
>
>      if (d->character && !IS_NPC(d->character))
>        REMOVE_BIT(PLR_FLAGS(d->character), PLR_WRITING | PLR_MAILING);
>      if (d->backstr) free(d->backstr);
>      d->backstr = NULL;
>      d->str = NULL;
>     }
>     else if (!action) strcat(*d->str, "\r\n");
>   }
>
> *snip*
>
> Ok, TATS te rit way... stupid keyboard... just look at it for awile and youll
> et it :)
> Tanks
>
> Tharin
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+
>


--
/----------------------------------------------------------------------------\
| Christian Loth                      | Meet me as the >Shadowdancer< in the |
| chris@rom.mud.de                    |           REALM OF MAGIC             |
| http://rom.mud.de/~chris            | telnet rom.mud.de 4000               |
|                                     | http://rom.mud.de/                   |
|               "The road goes ever on and on!" - Bilbo Baggins              |
\----------------------------------------------------------------------------/


     +------------------------------------------------------------+
     | 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