diff --git a/main.c b/main.c index d8b4c0c..82d0cf1 100644 --- a/main.c +++ b/main.c @@ -242,8 +242,9 @@ int main() char str[1024]; char date[60]; time_t now ; + char * locale; - setlocale(LC_ALL,NULL); + locale = setlocale(LC_ALL,NULL); time( &now ); sprintf( date, "%s", ctime(&now)); date[strlen(date)-1] = 0;