1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[session] Shorter

This commit is contained in:
Witold Filipczyk 2020-05-20 20:38:39 +02:00
parent 2273c4a370
commit 033f15fe7b

View File

@ -1142,13 +1142,10 @@ decode_session_info(struct terminal *term, struct terminal_info *info)
/* If processing session info from a -remote instance we want
* to hook up with the master so we can handle request for
* stuff in current tab. */
base_session = get_master_session();
if (!base_session) {
base_session = sessions.next;
base_session = get_master_session() ?: sessions.next;
if (!base_session) {
return 0;
}
if (!base_session) {
return 0;
}
break;