git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1393 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2005/03/16 18:10:50... | ... |
@@ -15,7 +15,7 @@ |
15 | 15 |
* along with this program; if not, write to the Free Software |
16 | 16 |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | 17 |
*/ |
18 |
-static char const rcsid[] = "$Id: message.c,v 1.148 2005/03/15 18:12:10 nigelhorne Exp $"; |
|
18 |
+static char const rcsid[] = "$Id: message.c,v 1.149 2005/03/16 09:10:50 nigelhorne Exp $"; |
|
19 | 19 |
|
20 | 20 |
#if HAVE_CONFIG_H |
21 | 21 |
#include "clamav-config.h" |
... | ... |
@@ -1498,19 +1498,19 @@ messageExport(message *m, const char *dir, void *(*create)(void), void (*destroy |
1498 | 1498 |
} while((t_line = t_line->t_next) != NULL); |
1499 | 1499 |
|
1500 | 1500 |
cli_dbgmsg("Exported %u bytes using enctype %d\n", size, enctype); |
1501 |
- } |
|
1502 | 1501 |
|
1503 |
- /* Verify we have nothing left to flush out */ |
|
1504 |
- if(m->base64chars) { |
|
1505 |
- unsigned char data[4]; |
|
1506 |
- unsigned char *ptr; |
|
1502 |
+ /* Verify we have nothing left to flush out */ |
|
1503 |
+ if(m->base64chars) { |
|
1504 |
+ unsigned char data[4]; |
|
1505 |
+ unsigned char *ptr; |
|
1507 | 1506 |
|
1508 |
- cli_dbgmsg("%u trailing bytes to export\n", m->base64chars); |
|
1507 |
+ cli_dbgmsg("%u trailing bytes to export\n", m->base64chars); |
|
1509 | 1508 |
|
1510 |
- ptr = decode(m, NULL, data, base64, FALSE); |
|
1511 |
- if(ptr) |
|
1512 |
- (*addData)(ret, data, (size_t)(ptr - data)); |
|
1513 |
- m->base64chars = 0; |
|
1509 |
+ ptr = decode(m, NULL, data, base64, FALSE); |
|
1510 |
+ if(ptr) |
|
1511 |
+ (*addData)(ret, data, (size_t)(ptr - data)); |
|
1512 |
+ m->base64chars = 0; |
|
1513 |
+ } |
|
1514 | 1514 |
} |
1515 | 1515 |
|
1516 | 1516 |
return ret; |