mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-15 17:12:36 +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
|
// Initialize Temp Directory Path
|
||||||
//
|
//
|
||||||
if(getenv("TMPDIR")!=NULL) {
|
tempdir = RDTempDir() + "/rivendellXXXXXX";
|
||||||
tempdir=getenv("TMPDIR");
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
tempdir="/tmp";
|
|
||||||
}
|
|
||||||
tempdir+="/rivendellXXXXXX";
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Get message part separator
|
// Get message part separator
|
||||||
|
Loading…
x
Reference in New Issue
Block a user