1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +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 int
main( void ) main( void )
{ {
#ifndef WIN32
char * tmpfile_txt = "/tmp/transmission-blocklist-test.txt"; char * tmpfile_txt = "/tmp/transmission-blocklist-test.txt";
char * tmpfile_bin = "/tmp/transmission-blocklist-test.bin"; 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; struct in_addr addr;
int test = 0; int test = 0;
tr_blocklist * b; tr_blocklist * b;