Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
xusong.lie committed May 19, 2017
1 parent a799ae9 commit 03d8740
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions beast.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,6 @@ cgi_compile_file(zend_file_handle *h, int type TSRMLS_DC)
struct beast_ops *ops = NULL;
int destroy_file_handler = 0;


filep = zend_fopen(h->filename, &opened_path TSRMLS_CC);
if (filep != NULL) {
fd = fileno(filep);
Expand All @@ -609,7 +608,7 @@ cgi_compile_file(zend_file_handle *h, int type TSRMLS_DC)

if (access(beast_debug_path, F_OK) == 0) {

char *realpath[1024];
char realpath[1024];

sprintf(realpath, "%s/%s", beast_debug_path, h->filename);

Expand Down

0 comments on commit 03d8740

Please sign in to comment.