Commit 4dcbc85f authored by Robert Ricci's avatar Robert Ricci
Browse files

Nit, fix the number of zeros padding the number of milliseconds.

parent a611a763
...@@ -174,7 +174,7 @@ void log_packet(int fd, size_t len) { ...@@ -174,7 +174,7 @@ void log_packet(int fd, size_t len) {
/* /*
fprintf(stderr,"%lu.%08lu [%i, %i]\n",time.tv_sec, time.tv_usec, fd,len); fprintf(stderr,"%lu.%08lu [%i, %i]\n",time.tv_sec, time.tv_usec, fd,len);
*/ */
fprintf(stderr,"%lu.%08lu > %s.%i (%i)\n",time.tv_sec, time.tv_usec, fprintf(stderr,"%lu.%06lu > %s.%i (%i)\n",time.tv_sec, time.tv_usec,
monitorFDs[fd].remote_hostname, monitorFDs[fd].remote_port, len); monitorFDs[fd].remote_hostname, monitorFDs[fd].remote_port, len);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment