summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c
index 6474c3f9..c008495c 100644
--- a/src/session.c
+++ b/src/session.c
@@ -174,6 +174,7 @@ session_restore(char *name, int flags) {
WebKitWebBackForwardList *bf_list = NULL;
int last = 1;
char *end;
+ gboolean ret = false;
int locked_state = 0;
if (name == NULL) {
_session_name = g_strdup("default");
@@ -236,10 +237,11 @@ session_restore(char *name, int flags) {
}
dwb_focus(dwb.state.fview);
g_free(uri);
+ ret = true;
clean:
g_free(group);
- return true;
+ return ret;
}/*}}}*/
/* session_save(const char *) {{{*/