From 422c9772522173b09a11de0481c68df5c05dc3ff Mon Sep 17 00:00:00 2001 From: Dmitri Pal Date: Thu, 26 Feb 2009 19:33:22 -0500 Subject: Changed name of the time stamp attrribute. --- collection/elapi_collection.h | 2 +- dispatcher/elapi_dispatcher_ut.c | 4 ++-- 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"); -- cgit