/[anubis]/anubis/src/log.c
ViewVC logotype

Diff of /anubis/src/log.c

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

revision 1.6 by polak, Fri Aug 15 09:56:49 2003 UTC revision 1.7 by gray, Sun Aug 17 15:37:29 2003 UTC
# Line 30  void Line 30  void
30  mprintf(const char *fmt, ...)  mprintf(const char *fmt, ...)
31  {  {
32          va_list arglist;          va_list arglist;
         char txt[LINEBUFFER+1];  
33    
34          if (options.termlevel == SILENT)          if (options.termlevel == SILENT)
35                  return;                  return;
36    
37          va_start(arglist, fmt);          va_start(arglist, fmt);
38          vsnprintf(txt, LINEBUFFER, fmt, arglist);          vfprintf(stderr, fmt, arglist);
39          va_end(arglist);          va_end(arglist);
40            fprintf(stderr, "\n");
         puts(txt);  
41  }  }
42    
43  void  void

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26