Skip to content

Commit

Permalink
fix -Wformat warning
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Jul 10, 2018
1 parent 9d66b1e commit 710cc7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ config.status
config.sub
configure
configure.in
configure.ac
extras
include
install-sh
libtool
ltmain.sh
ltmain.sh.backup
Makefile
Makefile.fragments
Makefile.global
Expand Down
2 changes: 1 addition & 1 deletion mailparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ PHP_FUNCTION(mailparse_msg_get_part)
foundpart = php_mimepart_find_by_name(part, ZSTR_VAL(mimesection));

if (!foundpart) {
php_error_docref(NULL, E_WARNING, "cannot find section %s in message", mimesection);
php_error_docref(NULL, E_WARNING, "cannot find section %s in message", ZSTR_VAL(mimesection));
RETURN_FALSE;
}
foundpart->rsrc->gc.refcount++;
Expand Down

0 comments on commit 710cc7f

Please sign in to comment.