aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--dlib/dlib.c4
-rw-r--r--src/IO/http.c3
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index cd0eb14b..7589c70a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,13 +29,12 @@ dillo-2.1
Patch: Justus Winter
+- Reduced warnings with gcc-4.3.
Patch: Thomas Orgis
-+- Fixed the proxy URL parameter for Http_must_use_proxy().
- Patch: David McKee
+- Added the "middle_click_drags_page" dillorc option.
Patch: Jorge Arellano, Thomas Orgis
+- Set the File menu label to hide when the File menu-button is shown.
? Trying a new iconv() test in configure.in.
- Patch: Jorge Arellano
+ - Allowed the rc parser to skip whitespace around the equal sign.
+ Patches: Jorge Arellano
dw
diff --git a/dlib/dlib.c b/dlib/dlib.c
index 76797af5..0f318134 100644
--- a/dlib/dlib.c
+++ b/dlib/dlib.c
@@ -776,6 +776,10 @@ int dParser_get_rc_pair(char **line, char **name, char **value)
*p = 0;
*name = *line;
+ /* skip whitespace */
+ if (p < eq)
+ for (++p; isspace(*p); ++p);
+
/* get value */
if (p == eq) {
for (++p; isspace(*p); ++p);
diff --git a/src/IO/http.c b/src/IO/http.c
index bcb78b1f..2c50e829 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -398,6 +398,7 @@ static int Http_must_use_proxy(const DilloUrl *url)
dFree(np);
}
}
+ _MSG("Http_must_use_proxy: %s\n %s\n", URL_STR(url), ret ? "YES":"NO");
return ret;
}
@@ -459,7 +460,7 @@ static int Http_get(ChainLink *Info, void *Data1)
S->Info = Info;
/* Proxy support */
- if (Http_must_use_proxy(URL_HOST(S->web->url))) {
+ if (Http_must_use_proxy(S->web->url)) {
hostname = dStrdup(URL_HOST(HTTP_Proxy));
S->port = URL_PORT(HTTP_Proxy);
S->use_proxy = TRUE;