[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r32397 - libmicrohttpd/src/testcurl
From: |
gnunet |
Subject: |
[GNUnet-SVN] r32397 - libmicrohttpd/src/testcurl |
Date: |
Tue, 18 Feb 2014 19:38:58 +0100 |
Author: Karlson2k
Date: 2014-02-18 19:38:58 +0100 (Tue, 18 Feb 2014)
New Revision: 32397
Modified:
libmicrohttpd/src/testcurl/test_get_sendfile.c
Log:
test_get_sendfile.c - remove DIR_SEPARATOR_STR (W32 works fine with
forwardslashes)
Modified: libmicrohttpd/src/testcurl/test_get_sendfile.c
===================================================================
--- libmicrohttpd/src/testcurl/test_get_sendfile.c 2014-02-18 18:38:50 UTC
(rev 32396)
+++ libmicrohttpd/src/testcurl/test_get_sendfile.c 2014-02-18 18:38:58 UTC
(rev 32397)
@@ -458,13 +458,13 @@
FILE *f;
if ( (NULL == (tmp = getenv ("TMPDIR"))) &&
- (NULL == (tmp = getenv ("TMP"))) )
+ (NULL == (tmp = getenv ("TMP"))) &&
+ (NULL == (tmp = getenv ("TEMP"))) )
tmp = "/tmp";
sourcefile = malloc (strlen (tmp) + 32);
sprintf (sourcefile,
- "%s%s%s",
+ "%s/%s",
tmp,
- DIR_SEPARATOR_STR,
"test-mhd-sendfile");
f = fopen (sourcefile, "w");
if (NULL == f)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r32397 - libmicrohttpd/src/testcurl,
gnunet <=