[CODE] buglet in utils.c

From: Andrew Helm (ashe@IGLOU.COM)
Date: 10/01/97


Around line 400 of utils.c, in function get_line() there is the
following code:

   if (feof(fl))
     return 0;
   else {
     strcpy(buf, temp);
     return lines;
   }


Change this to read:

   if (feof(fl)) {
     *buf = '\0';
     return 0;
   } else {
     strcpy(buf, temp);
     return lines;
   }


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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