reverting change to wap/wsp_header.c for quote (")
This commit is contained in:
parent
f3fff0f45e
commit
17d3517eec
|
@ -914,3 +914,19 @@ diff -Naur gateway-1.4.0/test/test_ppg.c gateway-1.4.0-patched/test/test_ppg.c
|
||||||
wait_seconds = atof(optarg);
|
wait_seconds = atof(optarg);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
diff -Naur gateway-1.4.0/wap/wsp_headers.c gateway-1.4.0-patched/wap/wsp_headers.c
|
||||||
|
--- gateway-1.4.0/wap/wsp_headers.c 2004-08-08 23:39:56.000000000 +0300
|
||||||
|
+++ gateway-1.4.0-patched/wap/wsp_headers.c 2005-07-05 12:19:53.000000000 +0300
|
||||||
|
@@ -122,10 +122,9 @@
|
||||||
|
} else if (val > 127) {
|
||||||
|
*well_known_value = val - 128;
|
||||||
|
return WSP_FIELD_VALUE_ENCODED;
|
||||||
|
- } else if (val == WSP_QUOTE) { /* 127 */
|
||||||
|
+ } else if (val == WSP_QUOTE || val == '"') { /* 127 or quote -- this is not ideal, but... */
|
||||||
|
*well_known_value = -1;
|
||||||
|
- /* We already consumed the Quote */
|
||||||
|
- return WSP_FIELD_VALUE_NUL_STRING;
|
||||||
|
+ return WSP_FIELD_VALUE_NUL_STRING;
|
||||||
|
} else {
|
||||||
|
*well_known_value = -1;
|
||||||
|
/* Un-parse the character we just read */
|
||||||
|
|
Loading…
Reference in New Issue