1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

(win32) Don't use files in /tmp/ for test on win32

This commit is contained in:
Mukund Sivaraman 2008-09-06 07:26:29 +00:00
parent 64c9e8aabc
commit 77fdc04c0e

View file

@ -41,8 +41,13 @@ createTestBlocklist( const char * tmpfile )
int
main( void )
{
#ifndef WIN32
char * tmpfile_txt = "/tmp/transmission-blocklist-test.txt";
char * tmpfile_bin = "/tmp/transmission-blocklist-test.bin";
#else
char * tmpfile_txt = "transmission-blocklist-test.txt";
char * tmpfile_bin = "transmission-blocklist-test.bin";
#endif
struct in_addr addr;
int test = 0;
tr_blocklist * b;