[BACK]Return to rpc_scan.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rpcgen

Diff for /src/usr.bin/rpcgen/rpc_scan.c between version 1.8 and 1.9

version 1.8, 2002/02/16 21:27:51 version 1.9, 2002/06/01 01:40:38
Line 291 
Line 291 
                         char buf[100];                          char buf[100];
                         char *p;                          char *p;
   
                         s_print(buf, "illegal character in file: ");                          snprintf(buf, sizeof buf, "illegal character in file: ");
                         p = buf + strlen(buf);                          p = buf + strlen(buf);
                         if (isprint(*where)) {                          if (isprint(*where)) {
                                 s_print(p, "%c", *where);                                  sprintf(p, "%c", *where);
                         } else {                          } else {
                                 s_print(p, "%d", *where);                                  sprintf(p, "%d", *where);
                         }                          }
                         error(buf);                          error(buf);
                 }                  }
Line 460 
Line 460 
 printdirective(line)  printdirective(line)
         char *line;          char *line;
 {  {
         f_print(fout, "%s", line + 1);          fprintf(fout, "%s", line + 1);
 }  }
   
 static  static

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9