git-svn-id: https://svn.microneil.com/svn/SNFClient/trunk@4 51592d22-3d51-405e-a108-f9da3ab4961fadeniz_1
@@ -1,3 +1,7 @@ | |||
2009-05-26 Alban Deniz <adeniz@skidmark.localdomain> | |||
* main.cpp (Timestamp): Removed \0 at end of format string. | |||
2009-05-23 Alban Deniz <adeniz@skidmark.localdomain> | |||
* Makefile.am (LIBS): Search SNFMulti library before CodeDweller. |
@@ -45,7 +45,7 @@ string Timestamp(time_t t) { | |||
char TimestampBfr[20]; // Create a small buffer. | |||
tm* gmt; // Get a ptr to a tm structure. | |||
gmt = gmtime(&t); // Fill it with UTC. | |||
sprintf(TimestampBfr,"%04d%02d%02d%02d%02d%02d\0", // Format yyyymmddhhmmss | |||
sprintf(TimestampBfr,"%04d%02d%02d%02d%02d%02d", // Format yyyymmddhhmmss | |||
gmt->tm_year+1900, | |||
gmt->tm_mon+1, | |||
gmt->tm_mday, |