Skip to content
Snippets Groups Projects
Commit 80698f52 authored by Stephen R. van den Berg's avatar Stephen R. van den Berg
Browse files

Fix formatcheck to accomodate for the optional 2nd argument.

parent b007fd90
No related branches found
No related tags found
No related merge requests found
...@@ -440,8 +440,8 @@ PIKECLASS _pcre ...@@ -440,8 +440,8 @@ PIKECLASS _pcre
switch (args) /* get ints and check 8 bit compliancy */ switch (args) /* get ints and check 8 bit compliancy */
{ {
case 2: get_all_args("exec",args,"%s%d",&dummy_s,&off); break; case 2: get_all_args("exec",args,"%c.%d",&dummy_s,&off); break;
case 1: get_all_args("exec",args,"%s",&dummy_s); break; case 1: get_all_args("exec",args,"%c",&dummy_s); break;
} }
if (off > subject->len) { if (off > subject->len) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment