Difference for socket/request.c from version 1.90 to 1.91


version 1.90 version 1.91
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *    "$Id: request.c,v 1.90 2006/05/18 05:27:44 mwedel Exp $";   *    "$Id: request.c,v 1.91 2006/05/20 12:36:48 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 243
 
Line 243
  } else if (!strcmp(cmd,"tick")) {   } else if (!strcmp(cmd,"tick")) {
      ns->tick = atoi(param);       ns->tick = atoi(param);
      safe_strcat(cmdback, param, &slen, HUGE_BUF);       safe_strcat(cmdback, param, &slen, HUGE_BUF);
    } else if (!strcmp(cmd,"bot")) {
    ns->is_bot = ( atoi(param) != 0 ? 1 : 0 );
    safe_strcat(cmdback, ns->is_bot ? "1" : "0", &slen, HUGE_BUF);
  } else {   } else {
      /* Didn't get a setup command we understood -       /* Didn't get a setup command we understood -
       * report a failure to the client.        * report a failure to the client.
Line 2431
 
Line 2434
 void send_tick(player *pl)  void send_tick(player *pl)
 {  {
     SockList sl;      SockList sl;
     char buf[MAX_BUF];  
     int tmp;      int tmp;
   
   


Legend:
line(s) removed in v.1.90 
line(s) changed
 line(s) added in v.1.91

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:36