Re: new.do_who.diff problems

From: Daniel A. Koepke (dkoepke@circlemud.org)
Date: 06/15/02


On Sun, 16 Jun 2002, SoulReaper Is here wrote:

>       sprintf(Imm_buf, "%s%s[%s] %s %s\r\n", Imm_buf, QYEL,

You want

    sprintf(Imm_buf + strlen(Imm_buf), "%s[%s] %s %s\r\n", QYEL,

>       sprintf(Mort_buf, "%s[%2d %s] %s %s\r\n", Mort_buf, GET_LEVEL(wch),

Similarly

    sprintf(Mort_buf + strlen(Mort_buf), "[%2d %s] %s %s\r\n",
            GET_LEVEL(wch),

-dak

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT