Archived
debug
This commit is contained in:
1 parent
9f8be6cf60
commit
df1087936a
1 file changed
+2
-1
@@ -242,8 +242,9 @@ int main()
|
|||||||
char str[1024];
|
char str[1024];
|
||||||
char date[60];
|
char date[60];
|
||||||
time_t now ;
|
time_t now ;
|
||||||
|
char * locale;
|
||||||
|
|
||||||
setlocale(LC_ALL,NULL);
|
locale = setlocale(LC_ALL,NULL);
|
||||||
time( &now );
|
time( &now );
|
||||||
sprintf( date, "%s", ctime(&now));
|
sprintf( date, "%s", ctime(&now));
|
||||||
date[strlen(date)-1] = 0;
|
date[strlen(date)-1] = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user