/[dragonmtn]/snowwhite/string.cc
ViewVC logotype

Diff of /snowwhite/string.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by Halcy0n, Tue Apr 5 20:48:56 2005 UTC revision 1.2 by Halcy0n, Sun Apr 17 06:17:40 2005 UTC
# Line 81  void reply(const char *cService, UserLis Line 81  void reply(const char *cService, UserLis
81          if (replyNum < 0 || replyNum >= MAX_REPLY_STRING_NUM) {          if (replyNum < 0 || replyNum >= MAX_REPLY_STRING_NUM) {
82                  sprintf(buf, "NO REPLY FOR ERROR %d -- please report this.\r\n", replyNum);                  sprintf(buf, "NO REPLY FOR ERROR %d -- please report this.\r\n", replyNum);
83    
84                  net_write(server, buf, strlen(buf));                  write(server, buf, strlen(buf));
85                  return;                  return;
86          }          }
87    
# Line 96  void reply(const char *cService, UserLis Line 96  void reply(const char *cService, UserLis
96          buf[sz+2] = '\0';          buf[sz+2] = '\0';
97          sz += 2;          sz += 2;
98    
99          net_write(server, buf, sz);          write(server, buf, sz);
100  }  }

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26