diff options
author | Anatol Belski <ab@php.net> | 2016-05-30 18:32:39 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-05-30 18:35:14 +0200 |
commit | 2524ab9e67554f1de3c343ed7eb11eee0c92a093 (patch) | |
tree | acddc41cb9549d8ead881bf9fe1a79328b8a5b7a /sapi | |
parent | c10169097206a4f58d2c8d3a28b0615df96bf82c (diff) | |
download | php-git-2524ab9e67554f1de3c343ed7eb11eee0c92a093.tar.gz |
fix condition
Diffstat (limited to 'sapi')
-rw-r--r-- | sapi/phpdbg/phpdbg_prompt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c index a01c8a399f..6f73d3087a 100644 --- a/sapi/phpdbg/phpdbg_prompt.c +++ b/sapi/phpdbg/phpdbg_prompt.c @@ -1048,7 +1048,7 @@ PHPDBG_API const char *phpdbg_load_module_or_extension(char **path, char **name) if (!handle) { #if PHP_WIN32 char *err = GET_DL_ERROR(); - if (err && *err != "") { + if (err && err[0]) { phpdbg_error("dl", "type=\"unknown\"", "%s", err); LocalFree(err); } else { |