[Pcre-svn] [1653] code/trunk: Refactor to fix a typo.

Inizio della pagina
Delete this message
Autore: Subversion repository
Data:  
To: pcre-svn
Oggetto: [Pcre-svn] [1653] code/trunk: Refactor to fix a typo.
Revision: 1653
          http://vcs.pcre.org/viewvc?view=rev&revision=1653
Author:   ph10
Date:     2016-05-25 09:23:09 +0100 (Wed, 25 May 2016)
Log Message:
-----------
Refactor to fix a typo.


Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/pcre_jit_test.c


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2016-05-25 08:21:29 UTC (rev 1652)
+++ code/trunk/ChangeLog    2016-05-25 08:23:09 UTC (rev 1653)
@@ -91,7 +91,9 @@


24. Refactor to avoid compiler warnings in pcrecpp.cc.

+25. Refactor to fix a typo in pcre_jit_test.c

+
Version 8.38 23-November-2015
-----------------------------


Modified: code/trunk/pcre_jit_test.c
===================================================================
--- code/trunk/pcre_jit_test.c    2016-05-25 08:21:29 UTC (rev 1652)
+++ code/trunk/pcre_jit_test.c    2016-05-25 08:23:09 UTC (rev 1653)
@@ -1560,10 +1560,10 @@
                             is_successful = 0;
                         }
 #endif
-#if defined SUPPORT_PCRE16 && defined SUPPORT_PCRE16
-                        if (ovector16_1[i] != ovector16_2[i] || ovector16_1[i] != ovector16_1[i] || ovector16_1[i] != ovector16_2[i]) {
-                            printf("\n16 and 16 bit: Ovector[%d] value differs(J16:%d,I16:%d,J32:%d,I32:%d): [%d] '%s' @ '%s' \n",
-                                i, ovector16_1[i], ovector16_2[i], ovector16_1[i], ovector16_2[i],
+#if defined SUPPORT_PCRE16 && defined SUPPORT_PCRE32
+                        if (ovector16_1[i] != ovector16_2[i] || ovector16_1[i] != ovector32_1[i] || ovector16_1[i] != ovector32_2[i]) {
+                            printf("\n16 and 32 bit: Ovector[%d] value differs(J16:%d,I16:%d,J32:%d,I32:%d): [%d] '%s' @ '%s' \n",
+                                i, ovector16_1[i], ovector16_2[i], ovector32_1[i], ovector32_2[i],
                                 total, current->pattern, current->input);
                             is_successful = 0;
                         }