portability


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@97 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/constr_SET.c b/skeletons/constr_SET.c
index ec9caf0..2602b80 100644
--- a/skeletons/constr_SET.c
+++ b/skeletons/constr_SET.c
@@ -660,7 +660,8 @@
 	int edx;
 
 	if(!sptr) {
-		_ASN_ERRLOG("%s: value not given", td->name);
+		_ASN_ERRLOG(app_errlog, app_key,
+			"%s: value not given", td->name);
 		return -1;
 	}
 
@@ -676,7 +677,7 @@
 			if(!memb_ptr) {
 				if(ASN_SET_ISPRESENT2(
 					&(specs->_mandatory_elements), edx)) {
-					_ASN_ERRLOG(
+					_ASN_ERRLOG(app_errlog, app_key,
 						"%s: mandatory element "
 						"%s absent",
 						td->name, elm->name);