ext/apache2/Utils.h in passenger-2.0.1 vs ext/apache2/Utils.h in passenger-2.0.2
- old
+ new
@@ -220,10 +220,10 @@
* immediately. Anonymous temp files are useful if one just wants
* a big not-in-memory buffer to work with.
* @throws SystemException Something went wrong.
*/
TempFile(bool anonymous = true) {
- char *temp_dir;
+ const char *temp_dir;
char templ[PATH_MAX];
int fd;
temp_dir = getenv("TMP");
if (temp_dir == NULL || *temp_dir == '\0') {