From 6c14fd7ccdecbf596d64e5baa5e4e0c09bfa0f0d Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 6 Feb 2006 13:41:24 +0000 Subject: Added support for changing tempdir via git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3107 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dynamic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dynamic.cpp') diff --git a/src/dynamic.cpp b/src/dynamic.cpp index 1dfb823c6..dfc02ac24 100644 --- a/src/dynamic.cpp +++ b/src/dynamic.cpp @@ -71,7 +71,7 @@ DLLManager::DLLManager(char *fname) FILE* x = fopen(fname,"rb"); char tmpfile_template[255]; char buffer[65536]; - snprintf(tmpfile_template, 255, "/tmp/inspircd_file.so.%d.XXXXXXXXXX",getpid()); + snprintf(tmpfile_template, 255, "%s/inspircd_file.so.%d.XXXXXXXXXX",Config->TempDir,getpid()); int fd = mkstemp(tmpfile_template); while (!feof(x)) { -- cgit v1.2.3