diff options
Diffstat (limited to 'src/map/amap/amapLiberty.c')
-rw-r--r-- | src/map/amap/amapLiberty.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/amap/amapLiberty.c b/src/map/amap/amapLiberty.c index 8b30b32..13b18df 100644 --- a/src/map/amap/amapLiberty.c +++ b/src/map/amap/amapLiberty.c @@ -175,12 +175,12 @@ int Amap_LibertyPrintLiberty( Amap_Tree_t * p, char * pFileName ) char * Amap_LibertyTimeStamp() { static char Buffer[100]; - char * TimeStamp; - time_t ltime; + char * TimeStamp; + time_t ltime; // get the current time - time( <ime ); - TimeStamp = asctime( localtime( <ime ) ); - TimeStamp[ strlen(TimeStamp) - 1 ] = 0; + time( <ime ); + TimeStamp = asctime( localtime( <ime ) ); + TimeStamp[ strlen(TimeStamp) - 1 ] = 0; assert( strlen(TimeStamp) < 100 ); strcpy( Buffer, TimeStamp ); return Buffer; |