Typo in house.c

From: Templar Viper (templarviper@HOTMAIL.COM)
Date: 01/13/03


if (house_control[i].last_payment) {
      timestr = asctime(localtime(&(house_control[i].last_payment)));
      *(timestr + 10) = '\0';
      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) ?

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