Re: [Circle] do_who help

From: Sammy (samedi@clark.net)
Date: 08/15/96


On Thu, 15 Aug 1996, Sammy wrote:

> On Wed, 14 Aug 1996 goamkows@kirk.geog.sc.edu wrote:
> > 
> >   char *tmp;
> > 
> > then later on put in 
> >   tmp = strcat((wch->player_specials->saved.prefix), (GET_NAME(wch)));
> 
> You're tacking a string onto the end of a character variable.  To put it 
> another way, you're adding many characters where there's only room for 1.

Oops it's a character pointer, not a character.  You need to allocate 
some space for it.

Don't mind me, I'm carefree...
Sam
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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