mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-17 06:24:12 -04:00
[session] Shorter
This commit is contained in:
parent
2273c4a370
commit
033f15fe7b
@ -1142,13 +1142,10 @@ decode_session_info(struct terminal *term, struct terminal_info *info)
|
|||||||
/* If processing session info from a -remote instance we want
|
/* If processing session info from a -remote instance we want
|
||||||
* to hook up with the master so we can handle request for
|
* to hook up with the master so we can handle request for
|
||||||
* stuff in current tab. */
|
* stuff in current tab. */
|
||||||
base_session = get_master_session();
|
base_session = get_master_session() ?: sessions.next;
|
||||||
if (!base_session) {
|
|
||||||
base_session = sessions.next;
|
|
||||||
|
|
||||||
if (!base_session) {
|
if (!base_session) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user