1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-08 23:45:01 +00:00

(trunk libT) #2240: Cryptic information messages on startup

This commit is contained in:
Charles Kerr 2009-06-23 14:43:09 +00:00
parent 1ae47c697d
commit 057638c4e9

View file

@ -422,6 +422,7 @@ tr_set_compare( const void * va,
const char*
tr_strip_positional_args( const char* str )
{
const char * in = str;
static size_t bufsize = 0;
static char * buf = NULL;
const size_t len = strlen( str );
@ -448,7 +449,7 @@ tr_strip_positional_args( const char* str )
}
*out = '\0';
return buf;
return strcmp( buf, in ) ? buf : in;
}
#endif