msg files are OLE2 files

git-svn: trunk@3032
remotes/push_mirror/metadata
Nigel Horne 18 years ago
parent 3dfb8c1715
commit b3ce296a79
  1. 7
      libclamav/msg.c
  2. 3
      libclamav/msg.h

@ -17,12 +17,13 @@
* MA 02110-1301, USA.
*/
#include "clamav.h"
#include "others.h"
#include "msg.h"
int
cli_msg(const char *dir, int desc, const cli_ctx *ctx)
{
cli_warnmsg("MSG files not yet supported\n");
return CL_EFORMAT;
/*cli_warnmsg("MSG files not yet supported\n");
return CL_EFORMAT;*/
cli_dbgmsg("cli_msg: treat as OLE2 document for now\n");
return cli_ole2_extract(desc, dir, ctx->limits);
}

@ -20,6 +20,9 @@
#ifndef __MSG_H
#define __MSG_H
#include "others.h"
#include "ole2_extract.h"
int cli_msg(const char *dir, int desc, const cli_ctx *ctx);
#endif

Loading…
Cancel
Save