Skip to content

Commit

Permalink
Fix undeclared identifier 'PHP_STREAM_KEEP_RSRC'
Browse files Browse the repository at this point in the history
Identifier named `PHP_STREAM_FREE_KEEP_RSRC`  but use `PHP_STREAM_KEEP_RSRC`

Reference Line 131
  • Loading branch information
wudi authored and bwoebi committed Apr 9, 2015
1 parent 690843f commit c7492ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/streams/cast.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static int stream_cookie_closer(void *cookie)

/* prevent recursion */
stream->fclose_stdiocast = PHP_STREAM_FCLOSE_NONE;
return php_stream_free(stream, PHP_STREAM_FREE_CLOSE | PHP_STREAM_KEEP_RSRC);
return php_stream_free(stream, PHP_STREAM_FREE_CLOSE | PHP_STREAM_FREE_KEEP_RSRC);
}
#elif defined(HAVE_FOPENCOOKIE)
static ssize_t stream_cookie_reader(void *cookie, char *buffer, size_t size)
Expand Down

0 comments on commit c7492ed

Please sign in to comment.