/[CvsGraph]/cvsgraph/utils.c
ViewVC logotype

Diff of /cvsgraph/utils.c

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3, Sun Mar 4 01:38:23 2001 UTC revision 1.4, Tue Jan 1 21:03:23 2002 UTC
# Line 74  Line 74 
74    
75  static int do_msg(const char *type, const char *fmt, va_list va)  static int do_msg(const char *type, const char *fmt, va_list va)
76  {  {
77            fprintf(stderr, "%s: ", input_file);
78            if(line_number)
79                    fprintf(stderr, "%d: ", line_number);
80          if(type)          if(type)
81                  fprintf(stderr, "%s: %d: %s: ", input_file, line_number, type);                  fprintf(stderr, "%s: ", type);
         else  
                 fprintf(stderr, "%s: %d: ", input_file, line_number);  
82          vfprintf(stderr, fmt, va);          vfprintf(stderr, fmt, va);
83          fprintf(stderr, "\n");          fprintf(stderr, "\n");
84          return 0;          return 0;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0