diff options
author | Josh Rickmar <jrick@devio.us> | 2012-08-16 15:50:59 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-08-16 15:50:59 -0400 |
commit | 6a1f983018c5d066d3706c47ae03e9130f978fca (patch) | |
tree | acd0e7b7b2114a5a5cf5e7a2217d13e0e429842d /settings.c | |
parent | bdcc74ccbecc617774bc6e5af9d0e4a11ad00137 (diff) | |
download | xombrero-6a1f983018c5d066d3706c47ae03e9130f978fca.tar.gz |
Give each tab its own session key for xtp links.
While here, kill a bunch of trailing whitespace.
Diffstat (limited to 'settings.c')
-rw-r--r-- | settings.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/settings.c b/settings.c index 2ae5cdd..d421429 100644 --- a/settings.c +++ b/settings.c @@ -3738,11 +3738,7 @@ xtp_page_rt(struct tab *t, struct karg *args) int i = 1; struct settings_args sa; - /* - * We intentionally do *not* update other about:set tabs here as - * there may be modifications and we don't want to lose those. - */ - generate_xtp_session_key(&rt_session_key); + generate_xtp_session_key(&t->session_key); bzero(&sa, sizeof sa); sa.body = &body; @@ -3760,7 +3756,7 @@ xtp_page_rt(struct tab *t, struct karg *args) body ? body : "", XT_XTP_STR, XT_XTP_RT, - rt_session_key, + t->session_key, XT_XTP_RT_SAVE); g_free(tmp); |