Browse code

Better warning message

git-svn: trunk@1675

Nigel Horne authored on 2005/08/01 20:41:00
Showing 1 changed files
... ...
@@ -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.157 2005/06/19 12:03:43 nigelhorne Exp $";
18
+static	char	const	rcsid[] = "$Id: message.c,v 1.158 2005/08/01 11:41:00 nigelhorne Exp $";
19 19
 
20 20
 #if HAVE_CONFIG_H
21 21
 #include "clamav-config.h"
... ...
@@ -629,7 +629,7 @@ messageFindArgument(const message *m, const char *variable)
629 629
 			while(isspace(*ptr))
630 630
 				ptr++;
631 631
 			if(*ptr != '=') {
632
-				cli_warnmsg("messageFindArgument: no '=' sign found in MIME header\n");
632
+				cli_warnmsg("messageFindArgument: no '=' sign found in MIME header '%s'\n", variable);
633 633
 				return NULL;
634 634
 			}
635 635
 			if((*++ptr == '"') && (strchr(&ptr[1], '"') != NULL)) {