summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2009-02-26 19:33:22 -0500
committerDmitri Pal <dpal@redhat.com>2009-02-26 19:33:22 -0500
commit422c9772522173b09a11de0481c68df5c05dc3ff (patch)
treed0f51ba675d2ed7c00807623786154dea0c7f8b8
parent15f299ca2e6902cb4ba784f5923cf910f96173a8 (diff)
downloadelapi_draft-422c9772522173b09a11de0481c68df5c05dc3ff.tar.gz
elapi_draft-422c9772522173b09a11de0481c68df5c05dc3ff.tar.xz
elapi_draft-422c9772522173b09a11de0481c68df5c05dc3ff.zip
Changed name of the time stamp attrribute.
-rw-r--r--collection/elapi_collection.h2
-rw-r--r--dispatcher/elapi_dispatcher_ut.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/collection/elapi_collection.h b/collection/elapi_collection.h
index 1451484..49a7049 100644
--- a/collection/elapi_collection.h
+++ b/collection/elapi_collection.h
@@ -56,7 +56,7 @@
#define ELAPI_TRAVERSE_IGNORE 0x00000004 /* Ignore sub collections at all as if there are none */
/* Time stamp property name */
-#define TS_NAME "timestamp"
+#define TS_NAME "stamp"
/* Time property name */
#define T_NAME "time"
diff --git a/dispatcher/elapi_dispatcher_ut.c b/dispatcher/elapi_dispatcher_ut.c
index d0f846c..994df17 100644
--- a/dispatcher/elapi_dispatcher_ut.c
+++ b/dispatcher/elapi_dispatcher_ut.c
@@ -188,13 +188,13 @@ int high_level_test(char *app)
log_event(NULL, event);
printf("%s","=================\nLog event using First format\n");
- log_event("%(timestamp), %s(name), %(number), %(bin), %%, %e(double)", event);
+ log_event("%(stamp), %s(name), %(number), %(bin), %%, %e(double)", event);
printf("%s","=================\nLog event using Second format\n");
log_event("%08X(time), %50s(name), %u(number), %s(bin), %%, %A(double)", event);
printf("%s","=================\nLog event using Third format\n");
- log_event("%-50s(timestamp), %50s(name), %lo(number), %a(bin), %%, %.8f(double)", event);
+ log_event("%-50s(stamp), %50s(name), %lo(number), %a(bin), %%, %.8f(double)", event);
printf("%s","=================\nNegative tests\n");