summaryrefslogtreecommitdiff
path: root/ext/readline/readline.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-05-14 01:47:40 +0200
committerAnatol Belski <ab@php.net>2017-05-14 01:47:40 +0200
commitcfe577fb864cd18abed2c9b461a83dc5c8735ee2 (patch)
tree2a01e66c0ff5921d8f9627e7be78316b2d892f94 /ext/readline/readline.c
parent90bd4be3f9362f766ef5f1998acad0029fde3275 (diff)
downloadphp-git-cfe577fb864cd18abed2c9b461a83dc5c8735ee2.tar.gz
revert workaround for bug #74489 as it's fixed in the dependency lib
Diffstat (limited to 'ext/readline/readline.c')
-rw-r--r--ext/readline/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 564d5c0539..53a4c9e9ab 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -214,7 +214,7 @@ PHP_MINFO_FUNCTION(readline)
Reads a line */
PHP_FUNCTION(readline)
{
- char *prompt = "";
+ char *prompt = NULL;
size_t prompt_len;
char *result;