From: Anatol Belski Date: Mon, 30 May 2016 16:32:39 +0000 (+0200) Subject: fix condition X-Git-Tag: php-7.0.8RC1~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2524ab9e67554f1de3c343ed7eb11eee0c92a093;p=php fix condition --- 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 {