com php-src: cleanup: phpdbg_prompt.c
| From: | Bob Weinand | Date: | Sun, 13 Apr 2014 07:48:59 +0000 |
| Subject: | com php-src: cleanup: phpdbg_prompt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77004@lists.php.net to get a copy of this message | ||
Commit: 0dc9be6f1e807f4556283d2c90fa3bab50c45334
Author: krakjoe <joe.watkins@live.co.uk> Sun, 13 Apr 2014 08:48:59 +0100
Parents: 8c23b038cd6c685edf833b4598f0dbb4a88034d2
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0dc9be6f1e807f4556283d2c90fa3bab50c45334
Log:
cleanup
Changed paths:
M phpdbg_prompt.c
Diff:
diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c
index 576314f..0bd6701 100644
--- a/phpdbg_prompt.c
+++ b/phpdbg_prompt.c
@@ -192,8 +192,6 @@ void phpdbg_try_file_init(char *init_file, size_t init_file_len, zend_bool free_
{
struct stat sb;
- printf("try %s\n", init_file);
-
if (init_file && VCWD_STAT(init_file, &sb) != -1) {
FILE *fp = fopen(init_file, "r");
if (fp) {
@@ -306,7 +304,7 @@ next_line:
if (free_init) {
free(init_file);
}
- } else printf("failed to open %s\n", init_file);
+ }
} /* }}} */
void phpdbg_init(char *init_file, size_t init_file_len, zend_bool use_default TSRMLS_DC) /* {{{ */