aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/GeneralizedTime.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-08-22 13:47:59 +0000
committerLev Walkin <vlm@lionet.info>2004-08-22 13:47:59 +0000
commit16835b66d44ba35cf1b1f671de133e39d716a848 (patch)
tree0b97dab1afad50a95d7c1473954f1f21de0677e0 /skeletons/GeneralizedTime.c
parent730b15a2e49811d061b10bdb3a32dcafbae195f1 (diff)
better constraint failure reporting
Diffstat (limited to 'skeletons/GeneralizedTime.c')
-rw-r--r--skeletons/GeneralizedTime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/skeletons/GeneralizedTime.c b/skeletons/GeneralizedTime.c
index 25f2bb6e..1da113b0 100644
--- a/skeletons/GeneralizedTime.c
+++ b/skeletons/GeneralizedTime.c
@@ -107,8 +107,8 @@ GeneralizedTime_constraint(asn1_TYPE_descriptor_t *td, const void *sptr,
tloc = asn_GT2time(st, 0, 0);
if(tloc == -1 && errno != EPERM) {
_ASN_ERRLOG(app_errlog, app_key,
- "%s: Invalid time format: %s",
- td->name, strerror(errno));
+ "%s: Invalid time format: %s (%s:%d)",
+ td->name, strerror(errno), __FILE__, __LINE__);
return -1;
}