diff options
author | Enno Boland (tox) <tox@s01.de> | 2010-03-26 21:44:48 +0100 |
---|---|---|
committer | Enno Boland (tox) <tox@s01.de> | 2010-03-26 21:44:48 +0100 |
commit | 981e52d5a755f7a30fc59595ab84f9df05a84f01 (patch) | |
tree | 4ce380008c5da4ed6df23c4c991573ed9fed542a /surf.c | |
parent | a7f2765da47529142d61c369f0cea6a68db4ed20 (diff) | |
download | surf-981e52d5a755f7a30fc59595ab84f9df05a84f01.tar.gz surf-981e52d5a755f7a30fc59595ab84f9df05a84f01.tar.bz2 surf-981e52d5a755f7a30fc59595ab84f9df05a84f01.zip |
typofix.
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -613,7 +613,7 @@ newwindow(Client *c, const Arg *arg) { if(!plugin) cmd[i++] = "-p"; if(!loadimage) - cmd[i++] = "-l"; + cmd[i++] = "-i"; if(showxid) cmd[i++] = "-x"; cmd[i++] = "--"; @@ -707,7 +707,7 @@ setcookie(SoupCookie *c) { SoupDate *e; SoupCookieJar *j = soup_cookie_jar_text_new(cookiefile, FALSE); c = soup_cookie_copy(c); - if(c && c->expires == NULL) { + if(c->expires == NULL) { e = soup_date_new_from_time_t(time(NULL) + sessiontime); soup_cookie_set_expires(c, e); } |