mirror of
https://github.com/transmission/transmission
synced 2024-12-23 00:04:06 +00:00
(trunk daemon) #4301 "strerror used instead of tr_strerror" -- fixed with a patch from taem
This commit is contained in:
parent
12270afcb2
commit
4152033360
2 changed files with 2 additions and 3 deletions
|
@ -13,7 +13,6 @@
|
|||
#include <errno.h>
|
||||
#include <stdio.h> /* printf */
|
||||
#include <stdlib.h> /* exit, atoi */
|
||||
#include <string.h> /* strerror() */
|
||||
|
||||
#include <fcntl.h> /* open */
|
||||
#include <signal.h>
|
||||
|
@ -502,7 +501,7 @@ main( int argc, char ** argv )
|
|||
pidfile_created = true;
|
||||
}
|
||||
else
|
||||
tr_err( "Unable to save pidfile \"%s\": %s", pid_filename, strerror( errno ) );
|
||||
tr_err( "Unable to save pidfile \"%s\": %s", pid_filename, tr_strerror( errno ) );
|
||||
}
|
||||
|
||||
if( tr_bencDictFindBool( &settings, TR_PREFS_KEY_RPC_AUTH_REQUIRED, &boolVal ) && boolVal )
|
||||
|
|
|
@ -76,7 +76,7 @@ watchdir_new_impl( dtr_watchdir * w )
|
|||
|
||||
if( i < 0 )
|
||||
{
|
||||
tr_err( "Unable to watch \"%s\": %s", w->dir, strerror( errno ) );
|
||||
tr_err( "Unable to watch \"%s\": %s", w->dir, tr_strerror( errno ) );
|
||||
}
|
||||
else if(( odir = opendir( w->dir )))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue