Difference for socket/request.c from version 1.84 to 1.85


version 1.84 version 1.85
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *    "$Id: request.c,v 1.84 2006/02/20 18:43:24 cavesomething Exp $";   *    "$Id: request.c,v 1.85 2006/02/20 23:35:31 cavesomething Exp $";
  */   */
   
 /*  /*
Line 2019
 
Line 2019
   
 /* appends the spell *spell to the Socklist we will send the data to. */  /* appends the spell *spell to the Socklist we will send the data to. */
 static void append_spell (player *pl, SockList *sl, object *spell) {  static void append_spell (player *pl, SockList *sl, object *spell) {
     int len, i=0, skill=-CS_STAT_SKILLINFO;       int len, i, skill=0;
     /* we set skill to that value so that in the null case, the value sent is zero */  
   
     if (!(spell->name)) {      if (!(spell->name)) {
         LOG(llevError, "item number %d is a spell with no name.\n", spell->count);          LOG(llevError, "item number %d is a spell with no name.\n", spell->count);
Line 2046
 
Line 2045
  break;   break;
      }       }
     }      }
     skill = i+CS_STAT_SKILLINFO;   
     SockList_AddChar(sl, skill);      SockList_AddChar(sl, skill);
   
     SockList_AddInt(sl, spell->path_attuned);      SockList_AddInt(sl, spell->path_attuned);


Legend:
line(s) removed in v.1.84 
line(s) changed
 line(s) added in v.1.85

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