/[public]/psiconv/trunk/lib/psiconv/error.c
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/error.c

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

Revision 193 Revision 351
1/* 1/*
2 error.c - Part of psiconv, a PSION 5 file formats converter 2 error.c - Part of psiconv, a PSION 5 file formats converter
3 Copyright (c) 1999, 2000 Frodo Looijaard <frodol@dds.nl> 3 Copyright (c) 1999-2014 Frodo Looijaard <frodo@frodo.looijaard.name>
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
34 const char *message) 34 const char *message)
35{ 35{
36 fprintf(stderr,"%s\n",message); 36 fprintf(stderr,"%s\n",message);
37} 37}
38 38
39#define MAX_MESSAGE 160 39#define MAX_MESSAGE 1024
40 40
41void psiconv_fatal(psiconv_config config, int level, psiconv_u32 off, 41void psiconv_fatal(psiconv_config config, int level, psiconv_u32 off,
42 const char *format,...) 42 const char *format,...)
43{ 43{
44 char buffer[MAX_MESSAGE]; 44 char buffer[MAX_MESSAGE];

Legend:
Removed from v.193  
changed lines
  Added in v.351

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26