version 1.244, 2012/09/06 09:50:13 |
version 1.245, 2012/09/07 00:30:19 |
|
|
case 'Z' - 64: |
case 'Z' - 64: |
/* XXX support this for mux clients */ |
/* XXX support this for mux clients */ |
if (c && c->ctl_chan != -1) { |
if (c && c->ctl_chan != -1) { |
|
char b[16]; |
noescape: |
noescape: |
|
if (ch == 'Z' - 64) |
|
snprintf(b, sizeof b, "^Z"); |
|
else |
|
snprintf(b, sizeof b, "%c", ch); |
snprintf(string, sizeof string, |
snprintf(string, sizeof string, |
"%c%c escape not available to " |
"%c%s escape not available to " |
"multiplexed sessions\r\n", |
"multiplexed sessions\r\n", |
escape_char, ch); |
escape_char, b); |
buffer_append(berr, string, |
buffer_append(berr, string, |
strlen(string)); |
strlen(string)); |
continue; |
continue; |