finish the trunk/1.0x libT merge: router death & portability

This commit is contained in:
Charles Kerr
2008-01-21 02:11:57 +00:00
parent 4d0e40c576
commit 1b7706e101
5 changed files with 30 additions and 20 deletions

View File

@@ -99,7 +99,6 @@ tr_getLogTimeStr( char * buf, int buflen )
#else
localtime_r( &now, &now_tm );
#endif
strftime( tmp, sizeof(tmp), "%H:%M:%S", &now_tm );
milliseconds = (int)(tv.tv_usec / 1000);
snprintf( buf, buflen, "%s.%03d", tmp, milliseconds );
@@ -537,7 +536,7 @@ tr_errorString( int code )
return "Already active transfer with same name and download folder";
case TR_ERROR_IO_OTHER:
return "Generic I/O error";
default:
return "Unknown error";
}