Author: joes
Date: Sun Apr 10 05:45:58 2005
New Revision: 160769
URL: http://svn.apache.org/viewcvs?view=rev&rev=160769
Log:
Oops, add missing "else". We really
need some charset tests at this point.
Modified:
httpd/apreq/branches/multi-env-unstable/library/util.c
Modified: httpd/apreq/branches/multi-env-unstable/library/util.c
URL:
http://svn.apache.org/viewcvs/httpd/apreq/branches/multi-env-unstable/library/util.c?view=diff&r1=160768&r2=160769
==============================================================================
--- httpd/apreq/branches/multi-env-unstable/library/util.c (original)
+++ httpd/apreq/branches/multi-env-unstable/library/util.c Sun Apr 10 05:45:58
2005
@@ -334,7 +334,7 @@
}
*d = c;
}
- if (is_enc8(s+1, 1)) {
+ else if (is_enc8(s+1, 1)) {
*charset = APREQ_CHARSET_UTF8;
*d++ = c;
*d = hex2_to_char(s+2);
@@ -357,7 +357,7 @@
}
*d = c;
}
- if (is_enc8(s+1, 2)) {
+ else if (is_enc8(s+1, 2)) {
*charset = APREQ_CHARSET_UTF8;
*d++ = c;
*d++ = hex2_to_char(s+2);
@@ -382,7 +382,7 @@
}
*d = c;
}
- if (is_enc8(s+1, 3)) {
+ else if (is_enc8(s+1, 3)) {
*charset = APREQ_CHARSET_UTF8;
*d++ = c;
*d++ = hex2_to_char(s+2);
@@ -408,7 +408,7 @@
}
*d = c;
}
- if (is_enc8(s+1, 4)) {
+ else if (is_enc8(s+1, 4)) {
*charset = APREQ_CHARSET_UTF8;
*d++ = c;
*d++ = hex2_to_char(s+2);
@@ -435,7 +435,7 @@
}
*d = c;
}
- if (is_enc8(s+1, 5)) {
+ else if (is_enc8(s+1, 5)) {
*charset = APREQ_CHARSET_UTF8;
*d++ = c;
*d++ = hex2_to_char(s+2);