diff options
author | corvid <corvid@lavabit.com> | 2011-09-09 22:46:26 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-09-09 22:46:26 +0000 |
commit | 385da8286ca8f001a6f734dd322e5957ba50b63b (patch) | |
tree | cb8efd5ffe7330e923c46dfd417f0c77356856a3 /src/web.cc | |
parent | 453b40b9ac2cab77f711286a0d7bd05197ec9499 (diff) |
tiny a_Web_new() cleanup
Diffstat (limited to 'src/web.cc')
-rw-r--r-- | src/web.cc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |