Difference for server/commands.c from version 1.46 to 1.47


version 1.46 version 1.47
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_commands_c =   * static char *rcsid_commands_c =
  *   "$Id: commands.c,v 1.46 2004/11/25 18:47:58 ryo_saeba Exp $";   *   "$Id: commands.c,v 1.47 2005/01/16 11:31:38 tchize Exp $";
  */   */
   
 /*  /*
Line 407
 
Line 407
 #ifdef INPUT_DEBUG  #ifdef INPUT_DEBUG
     LOG(llevDebug, "Command: '%s'\n", str);      LOG(llevDebug, "Command: '%s'\n", str);
 #endif  #endif
       /*
        * remove trailing spaces
        */
       cp = str+strlen(str)-1;
       while ( (cp>=str) && (*cp==' ')){
           *cp='\0';
    cp--;
       }
     /*      /*
      * No arguments?       * No arguments?
      */       */
Line 459
 
Line 466
   int i;    int i;
   /* if it's a keybinding command, ignore semicolons */    /* if it's a keybinding command, ignore semicolons */
   if(strstr(str,"bind")) return parse_string(op,str);    if(strstr(str,"bind")) return parse_string(op,str);
   printf("parsin command '%s'\n",str);
   /* If on a socket, you can not do complex commands. */    /* If on a socket, you can not do complex commands. */
   if(op && (tmp=strchr(str,';'))!=NULL)  /* we've found a ';' do the 1st and recurse */    if(op && (tmp=strchr(str,';'))!=NULL)  /* we've found a ';' do the 1st and recurse */
  {   {


Legend:
line(s) removed in v.1.46 
line(s) changed
 line(s) added in v.1.47

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:31