projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27cdc34
)
Fixed none working customer headers.
author
Daniel Carl
<danielcarl@gmx.de>
Tue, 3 Jun 2014 14:47:06 +0000
(16:47 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Tue, 3 Jun 2014 14:47:06 +0000
(16:47 +0200)
src/main.c
patch
|
blob
|
history
src/setting.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
ac44a25
..
97ddd61
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-565,7
+565,7
@@
static void webview_request_starting_cb(WebKitWebView *view,
hsts_prepare_message(vb.session, msg);
#endif
- if (vb.config.headers) {
+ if (
!
vb.config.headers) {
return;
}
diff --git
a/src/setting.c
b/src/setting.c
index
327ef0d
..
9b3e252
100644
(file)
--- a/
src/setting.c
+++ b/
src/setting.c
@@
-853,7
+853,7
@@
static SettingStatus headers(const Setting *s, const SettingType type)
if (vb.config.headers) {
str = g_string_new("");
- /* build a list w
o
th the header values */
+ /* build a list w
i
th the header values */
g_hash_table_iter_init(&iter, vb.config.headers);
while (g_hash_table_iter_next(&iter, (gpointer*)&key, (gpointer*)&value)) {
g_string_append_c(str, ',');