diff options
| -rw-r--r-- | ext/dba/libinifile/inifile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dba/libinifile/inifile.c b/ext/dba/libinifile/inifile.c index a0c7c69e58..b94c49b61d 100644 --- a/ext/dba/libinifile/inifile.c +++ b/ext/dba/libinifile/inifile.c @@ -452,7 +452,7 @@ static int inifile_filter(inifile *dba, inifile *from, const key_type *key TSRML } } inifile_line_free(&ln); - return SUCCESS; + return ret; } /* }}} */ @@ -460,7 +460,7 @@ static int inifile_filter(inifile *dba, inifile *from, const key_type *key TSRML */ static int inifile_delete_replace_append(inifile *dba, const key_type *key, const val_type *value, int append TSRMLS_DC) { - size_t pos_grp_start, pos_grp_next; + size_t pos_grp_start=0, pos_grp_next; inifile *ini_tmp = NULL; php_stream *fp_tmp = NULL; int ret; |
