summaryrefslogtreecommitdiff
path: root/sample/crnl.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-07-12 09:18:18 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-07-12 09:18:18 +0200
commit5c29b174a11e992dac68553f08645fe4a825c315 (patch)
tree7c72e5a49112a844a53a2c10ef1fda47867aee92 /sample/crnl.c
parent6cac1738b6aebf75b29d225775030d291319f9a2 (diff)
parente25c754918ae26e8b9e68a47bc1af36248e91800 (diff)
Update upstream source from tag 'upstream/6.9.2'
Update to upstream version '6.9.2' with Debian dir a351ad757689417d0ede510a023d625faee8e3e9
Diffstat (limited to 'sample/crnl.c')
-rw-r--r--sample/crnl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sample/crnl.c b/sample/crnl.c
index ee6a516..3ad1210 100644
--- a/sample/crnl.c
+++ b/sample/crnl.c
@@ -12,7 +12,7 @@
static int nfail = 0;
static void result(int no, int from, int to,
- int expected_from, int expected_to)
+ int expected_from, int expected_to)
{
fprintf(stderr, "%3d: ", no);
if (from == expected_from && to == expected_to) {
@@ -20,7 +20,7 @@ static void result(int no, int from, int to,
}
else {
fprintf(stderr, "Fail: expected: (%d-%d), result: (%d-%d)\n",
- expected_from, expected_to, from, to);
+ expected_from, expected_to, from, to);
nfail++;
}
@@ -41,7 +41,7 @@ x(int no, char* pattern_arg, char* str_arg,
str = (UChar* )str_arg;
r = onig_new(&reg, pattern, pattern + strlen((char* )pattern),
- ONIG_OPTION_DEFAULT, ONIG_ENCODING_ASCII, ONIG_SYNTAX_DEFAULT, &einfo);
+ ONIG_OPTION_DEFAULT, ONIG_ENCODING_ASCII, ONIG_SYNTAX_DEFAULT, &einfo);
if (r != ONIG_NORMAL) {
char s[ONIG_MAX_ERROR_MESSAGE_LEN];
onig_error_code_to_str(s, r, &einfo);