about summary refs log tree commit diff stats
path: root/settings.c
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-08-16 15:50:59 -0400
committerJosh Rickmar <jrick@devio.us>2012-08-16 15:50:59 -0400
commit6a1f983018c5d066d3706c47ae03e9130f978fca (patch)
treeacd0e7b7b2114a5a5cf5e7a2217d13e0e429842d /settings.c
parentbdcc74ccbecc617774bc6e5af9d0e4a11ad00137 (diff)
downloadxombrero-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.c8
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);