Grokbase Groups PHP php-cvs May 2016
FAQ
Commit: 2524ab9e67554f1de3c343ed7eb11eee0c92a093
Author: Anatol Belski <ab@php.net> Mon, 30 May 2016 18:32:39 +0200
Parents: c10169097206a4f58d2c8d3a28b0615df96bf82c
Branches: PHP-7.0 master

Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2524ab9e67554f1de3c343ed7eb11eee0c92a093

Log:
fix condition

Changed paths:
   M sapi/phpdbg/phpdbg_prompt.c


Diff:
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c
index a01c8a3..6f73d30 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 {

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-cvs @
categoriesphp
postedMay 30, '16 at 4:36p
activeMay 30, '16 at 4:36p
posts1
users1
websitephp.net

1 user in discussion

Anatol Belski: 1 post

People

Translate

site design / logo © 2019 Grokbase