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

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

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

Revision 158 Revision 351
1/* 1/*
2 buffer.c - Part of psiconv, a PSION 5 file formats converter 2 buffer.c - Part of psiconv, a PSION 5 file formats converter
3 Copyright (c) 2000 Frodo Looijaard <frodol@dds.nl> 3 Copyright (c) 2000-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.
128 } 128 }
129 if ((res = psiconv_buffer_add(*buf,*data))) { 129 if ((res = psiconv_buffer_add(*buf,*data))) {
130 goto ERROR2; 130 goto ERROR2;
131 } 131 }
132 } 132 }
133 return 0;
133 134
134ERROR2: 135ERROR2:
135 psiconv_buffer_free(*buf); 136 psiconv_buffer_free(*buf);
136ERROR1: 137ERROR1:
137 return res; 138 return res;

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

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