git-svn: trunk@4315
Tomasz Kojm authored on 2008/10/31 00:36:22... | ... |
@@ -155,7 +155,7 @@ cli_tnef(const char *dir, int desc) |
155 | 155 |
} |
156 | 156 |
fb = fileblobCreate(); |
157 | 157 |
if(tnef_message(fp, type, tag, length, fsize) != 0) { |
158 |
- cli_errmsg("Error reading TNEF message\n"); |
|
158 |
+ cli_dbgmsg("TNEF: Error reading TNEF message\n"); |
|
159 | 159 |
ret = CL_EFORMAT; |
160 | 160 |
alldone = 1; |
161 | 161 |
} |
... | ... |
@@ -163,7 +163,7 @@ cli_tnef(const char *dir, int desc) |
163 | 163 |
case LVL_ATTACHMENT: |
164 | 164 |
cli_dbgmsg("TNEF - found attachment\n"); |
165 | 165 |
if(tnef_attachment(fp, type, tag, length, dir, &fb, fsize) != 0) { |
166 |
- cli_errmsg("Error reading TNEF attachment\n"); |
|
166 |
+ cli_dbgmsg("TNEF: Error reading TNEF attachment\n"); |
|
167 | 167 |
ret = CL_EFORMAT; |
168 | 168 |
alldone = 1; |
169 | 169 |
} |
... | ... |
@@ -287,7 +287,7 @@ tnef_message(FILE *fp, uint16_t type, uint16_t tag, int32_t length, off_t fsize) |
287 | 287 |
/*cli_dbgmsg("%lu %lu\n", (long)(offset + length), ftell(fp));*/ |
288 | 288 |
|
289 | 289 |
if(!CLI_ISCONTAINED2(0, fsize, (off_t)offset, (off_t)length)) { |
290 |
- cli_errmsg("TNEF: Incorrect length field in tnef_message\n"); |
|
290 |
+ cli_dbgmsg("TNEF: Incorrect length field in tnef_message\n"); |
|
291 | 291 |
return -1; |
292 | 292 |
} |
293 | 293 |
if(fseek(fp, offset + length, SEEK_SET) < 0) |
... | ... |
@@ -369,7 +369,7 @@ tnef_attachment(FILE *fp, uint16_t type, uint16_t tag, int32_t length, const cha |
369 | 369 |
/*cli_dbgmsg("%lu %lu\n", (long)(offset + length), ftell(fp));*/ |
370 | 370 |
|
371 | 371 |
if(!CLI_ISCONTAINED2(0, fsize, (off_t)offset, (off_t)length)) { |
372 |
- cli_errmsg("TNEF: Incorrect length field in tnef_attachment\n"); |
|
372 |
+ cli_dbgmsg("TNEF: Incorrect length field in tnef_attachment\n"); |
|
373 | 373 |
return -1; |
374 | 374 |
} |
375 | 375 |
if(fseek(fp, (long)(offset + length), SEEK_SET) < 0) /* shouldn't be needed */ |