Return to channels.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.324, 2013/07/12 00:19:58 | version 1.324.2.1, 2013/11/08 01:33:56 | ||
---|---|---|---|
|
|
||
if ((c = channel_lookup(id)) == NULL) | if ((c = channel_lookup(id)) == NULL) | ||
fatal("channel_register_expect: %d: bad id", id); | fatal("channel_register_expect: %d: bad id", id); | ||
cc = xmalloc(sizeof(*cc)); | cc = xcalloc(1, sizeof(*cc)); | ||
cc->cb = cb; | cc->cb = cb; | ||
cc->abandon_cb = abandon_cb; | cc->abandon_cb = abandon_cb; | ||
cc->ctx = ctx; | cc->ctx = ctx; |