From 17d3517eec003ac7464a390f80a8453e66e4c9a2 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Tue, 5 Jul 2005 09:26:02 +0000 Subject: [PATCH] reverting change to wap/wsp_header.c for quote (") --- mbuni/misc-patches/mbuni-kannel-patch-full | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/mbuni/misc-patches/mbuni-kannel-patch-full b/mbuni/misc-patches/mbuni-kannel-patch-full index e61b473..ec7ed78 100644 --- a/mbuni/misc-patches/mbuni-kannel-patch-full +++ b/mbuni/misc-patches/mbuni-kannel-patch-full @@ -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); 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 */