mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-14 08:39:31 +02:00
Replace getenv("TEMP") by RDTempFile() in RDParsePost
This commit is contained in:
parent
c3e5f54083
commit
9b9ddecf0a
@ -783,13 +783,7 @@ bool RDParsePost(std::map<QString,QString> *vars)
|
||||
//
|
||||
// Initialize Temp Directory Path
|
||||
//
|
||||
if(getenv("TMPDIR")!=NULL) {
|
||||
tempdir=getenv("TMPDIR");
|
||||
}
|
||||
else {
|
||||
tempdir="/tmp";
|
||||
}
|
||||
tempdir+="/rivendellXXXXXX";
|
||||
tempdir = RDTempDir() + "/rivendellXXXXXX";
|
||||
|
||||
//
|
||||
// Get message part separator
|
||||
|
Loading…
x
Reference in New Issue
Block a user