version 1.63, 2005/07/17 07:17:55 |
version 1.64, 2005/07/25 11:59:39 |
|
|
char *name = match_list(client, server, NULL); |
char *name = match_list(client, server, NULL); |
if (name == NULL) |
if (name == NULL) |
fatal("no matching comp found: client %s server %s", client, server); |
fatal("no matching comp found: client %s server %s", client, server); |
if (strcmp(name, "zlib") == 0) { |
if (strcmp(name, "zlib@openssh.com") == 0) { |
comp->type = 1; |
comp->type = COMP_DELAYED; |
|
} else if (strcmp(name, "zlib") == 0) { |
|
comp->type = COMP_ZLIB; |
} else if (strcmp(name, "none") == 0) { |
} else if (strcmp(name, "none") == 0) { |
comp->type = 0; |
comp->type = COMP_NONE; |
} else { |
} else { |
fatal("unsupported comp %s", name); |
fatal("unsupported comp %s", name); |
} |
} |