Re: [CODE] struct char_file_u mismatch

From: Patrick M. O'Laughlin (pmolaughlin@home.com)
Date: 07/22/01


> In an attempt to write an website which uses player passwords and
> usernames
> which match with the MUD, I am parsing the playerfile (instead of making a
> passwd file).  In doing so, I've determined the char_file_u size
> to be 1292
> (in our case).  However, the following utility code, used to derive the
> width of each field ends up resulting with 1285.

Can't you just use sizeof(struct char_file_u) or am I a moron?

Pat

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST