Difference for socket/item.c from version 1.32 to 1.33


version 1.32 version 1.33
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *    "$Id: item.c,v 1.32 2005/07/14 09:18:57 akirschbaum Exp $";   *    "$Id: item.c,v 1.33 2005/08/12 13:47:00 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 144
 
Line 144
     object *tmp, *last;      object *tmp, *last;
     int flags, got_one=0,anim_speed, start_look=0, end_look=0, len;      int flags, got_one=0,anim_speed, start_look=0, end_look=0, len;
     SockList sl;      SockList sl;
     char buf[MAX_BUF], *item_p,item_n[MAX_BUF];      char buf[MAX_BUF], item_n[MAX_BUF];
       const char *item_p;
   
     if (!pl->contr->socket.update_look) {      if (!pl->contr->socket.update_look) {
  LOG(llevDebug,"esrv_draw_look called when update_look was not set\n");   LOG(llevDebug,"esrv_draw_look called when update_look was not set\n");
Line 289
 
Line 290
     object *tmp;      object *tmp;
     int flags, got_one=0, anim_speed, len;      int flags, got_one=0, anim_speed, len;
     SockList sl;      SockList sl;
     char item_n[MAX_BUF], *item_p;      char item_n[MAX_BUF];
       const char *item_p;
          
     sl.buf=malloc(MAXSOCKBUF);      sl.buf=malloc(MAXSOCKBUF);
   
Line 429
 
Line 431
     }      }
     if (flags & UPD_NAME) {      if (flags & UPD_NAME) {
  int len;   int len;
  char *item_p, item_n[MAX_BUF];   const char *item_p;
       char item_n[MAX_BUF];
   
   if (!op->custom_name) {    if (!op->custom_name) {
    strncpy(item_n,query_base_name(op, 0),127);     strncpy(item_n,query_base_name(op, 0),127);
Line 481
 
Line 484
 {  {
     int anim_speed, len;      int anim_speed, len;
     SockList sl;      SockList sl;
     char item_n[MAX_BUF], *item_p;      char item_n[MAX_BUF];
       const char *item_p;
          
     /* If this is not the player object, do some more checks */      /* If this is not the player object, do some more checks */
     if (op!=pl) {      if (op!=pl) {


Legend:
line(s) removed in v.1.32 
line(s) changed
 line(s) added in v.1.33

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