Re: Typo in house.c

From: George Greer (greerga@circlemud.org)
Date: 01/13/03


On Mon, 13 Jan 2003, Templar Viper wrote:

>      strlcpy(last_pay, timestr, sizeof(built_on)); <-- Here
>    } else
>      strcpy(last_pay, "None"); /* strcpy: OK (for 'strlen("None") < 128')
>*/
>I was looking through the house code.. Shouldn't sizeof(buildon) be sizeof
>(last_pay) ?

Yes. Cut & paste error.  Fortunately the two arrays are currently the same
size.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | 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/26/03 PDT