added __TIME__

This commit is contained in:
Dave Schuyler 2002-08-08 04:49:06 +00:00
parent 2f76502673
commit 4dafee4be2
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ main(int argc, char *argv[]) {
return 1; return 1;
} }
cerr<<"directdClient"<<endl; cerr<<"directdClient "<<__DATE__<<" "<<__TIME__<<endl;
string host="localhost"; string host="localhost";
int port=8001; int port=8001;
if (argc >= 3) { if (argc >= 3) {

View File

@ -107,7 +107,7 @@ main(int argc, char *argv[]) {
return 1; return 1;
} }
cerr<<"directdServer "<<__DATE__<<endl; cerr<<"directdServer "<<__DATE__<<" "<<__TIME__<<endl;
int port=8001; int port=8001;
if (argc > 1) { if (argc > 1) {
port=(atoi(argv[argc-1])); port=(atoi(argv[argc-1]));