Browse Source

fix condition

pull/1938/head
Anatol Belski 10 years ago
parent
commit
2524ab9e67
  1. 2
      sapi/phpdbg/phpdbg_prompt.c

2
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 {

Loading…
Cancel
Save