xmlsecurityengine/xmlsec/src/xmlsec_errors.c
branchRCL_3
changeset 12 d10d750052f0
parent 0 e35f40988205
child 20 889504eac4fb
--- a/xmlsecurityengine/xmlsec/src/xmlsec_errors.c	Thu Apr 01 00:31:02 2010 +0300
+++ b/xmlsecurityengine/xmlsec/src/xmlsec_errors.c	Tue Apr 27 18:31:15 2010 +0300
@@ -242,8 +242,9 @@
 	
 	if(msg != NULL) {
 	    va_list va;
-
-	    va_start(va, msg);
+		
+        //va points to the first argument in the list of variable arguments
+		va_start(va, msg);
   	    xmlSecStrVPrintf(error_msg, sizeof(error_msg), BAD_CAST msg, va);
 	    error_msg[sizeof(error_msg) - 1] = '\0';
 	    va_end(va);