summaryrefslogtreecommitdiffstats
path: root/runtime/librsgt.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-03-23 18:39:03 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-03-23 18:39:03 +0100
commit199630a5ef8f0c919fbbbd9e122415d1d72886a3 (patch)
tree0d3739d114a65b04207f4e109ec2c32524d2b53b /runtime/librsgt.c
parent0b77585a10062117d1904c8c08db1fc4520ab16d (diff)
downloadrsyslog-199630a5ef8f0c919fbbbd9e122415d1d72886a3.tar.gz
rsyslog-199630a5ef8f0c919fbbbd9e122415d1d72886a3.tar.bz2
rsyslog-199630a5ef8f0c919fbbbd9e122415d1d72886a3.zip
rsgtutil/milestone: basic 'extend' mode implementation
... done up until the point where I need to wait for the timestamps to become extendible. So doing a milestone commit to make sure the work is inside the archive. Actual writing of the extended timestamp is missing.
Diffstat (limited to 'runtime/librsgt.c')
-rw-r--r--runtime/librsgt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/librsgt.c b/runtime/librsgt.c
index e24c3769..40b46d9c 100644
--- a/runtime/librsgt.c
+++ b/runtime/librsgt.c
@@ -627,6 +627,7 @@ timestampIt(gtfile gf, GTDataHash *hash)
/* Encode timestamp. */
r = GTTimestamp_getDEREncoded(timestamp, &der, &lenDer);
if(r != GT_OK) {
+ // TODO: use rsyslog error reporting!
fprintf(stderr, "GTTimestamp_getDEREncoded() failed: %d (%s)\n",
r, GT_getErrorString(r));
goto done;