mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
finish the trunk/1.0x libT merge: router death & portability
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user