aboutsummaryrefslogtreecommitdiff
path: root/src/web.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-09-09 22:46:26 +0000
committercorvid <corvid@lavabit.com>2011-09-09 22:46:26 +0000
commit385da8286ca8f001a6f734dd322e5957ba50b63b (patch)
treecb8efd5ffe7330e923c46dfd417f0c77356856a3 /src/web.cc
parent453b40b9ac2cab77f711286a0d7bd05197ec9499 (diff)
tiny a_Web_new() cleanup
Diffstat (limited to 'src/web.cc')
-rw-r--r--src/web.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/web.cc b/src/web.cc
index 9daccdec..74851f2b 100644
--- a/src/web.cc
+++ b/src/web.cc
@@ -109,14 +109,15 @@ int a_Web_dispatch_by_type (const char *Type, DilloWeb *Web,
/*
* Allocate and set safe values for a DilloWeb structure
*/
-DilloWeb* a_Web_new(const DilloUrl *url, const DilloUrl *requester)
+DilloWeb* a_Web_new(BrowserWindow *bw, const DilloUrl *url,
+ const DilloUrl *requester)
{
DilloWeb *web= dNew(DilloWeb, 1);
_MSG(" a_Web_new: ValidWebs ==> %d\n", dList_length(ValidWebs));
web->url = a_Url_dup(url);
web->requester = a_Url_dup(requester);
- web->bw = NULL;
+ web->bw = bw;
web->flags = 0;
web->Image = NULL;
web->filename = NULL;