diff options
author | krakjoe <joe.watkins@live.co.uk> | 2014-02-02 14:50:32 +0000 |
---|---|---|
committer | krakjoe <joe.watkins@live.co.uk> | 2014-02-02 14:50:32 +0000 |
commit | 6a6bec44add665fc8330eb03161dc36d278ed40d (patch) | |
tree | ab699e7a912d7aec73479fd3a31649903caadab7 /sapi/phpdbg/phpdbg.c | |
parent | 9e84124e2dba2fc652abce076d5d1bbac9ed13bd (diff) | |
download | php-git-6a6bec44add665fc8330eb03161dc36d278ed40d.tar.gz |
woops
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 9341ad35a5..6cb1645e65 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -892,9 +892,11 @@ phpdbg_main: memset(bp_tmp_file, 0, sizeof(bp_tmp_file)); } #endif - + if (!bp_tmp_file) { - phpdbg_error("Unable to create temporary file"); + phpdbg_error( + "Unable to create temporary file"); + return 1; } } ini_entries = NULL; |