Diff

Differences From Artifact [e5819e95ce]:

To Artifact [7e8f3f2016]:


1058
1059
1060
1061
1062
1063
1064
1065

1066
1067
1068
1069
1070






1071
1072
1073
1074
1075
1076
1077
1058
1059
1060
1061
1062
1063
1064

1065
1066




1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079







-
+

-
-
-
-
+
+
+
+
+
+







	 val != NULL;
	 val = conf_get_str_strs(ssh->conf, CONF_ttymodes, key, &key)) {
	/*
	 * val[0] is either 'V', indicating that an explicit value
	 * follows it, or 'A' indicating that we should pass the
	 * value through from the local environment via get_ttymode.
	 */
	if (val[0] == 'A')
	if (val[0] == 'A') {
	    val = get_ttymode(ssh->frontend, key);
	else
	    val++;		       /* skip the 'V' */
	if (val)
	    do_mode(data, key, val);
	    if (val) {
		do_mode(data, key, val);
		sfree(val);
	    }
	} else
	    do_mode(data, key, val + 1);	       /* skip the 'V' */
    }
}

static int ssh_channelcmp(void *av, void *bv)
{
    struct ssh_channel *a = (struct ssh_channel *) av;
    struct ssh_channel *b = (struct ssh_channel *) bv;