diff options
Diffstat (limited to 'mux.c')
-rw-r--r-- | mux.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: mux.c,v 1.18 2010/05/16 12:55:51 markus Exp $ */ | 1 | /* $OpenBSD: mux.c,v 1.19 2010/06/17 07:07:30 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> | 3 | * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> |
4 | * | 4 | * |
@@ -931,7 +931,7 @@ mux_master_read_cb(Channel *c) | |||
931 | 931 | ||
932 | /* Setup ctx and */ | 932 | /* Setup ctx and */ |
933 | if (c->mux_ctx == NULL) { | 933 | if (c->mux_ctx == NULL) { |
934 | state = xcalloc(1, sizeof(state)); | 934 | state = xcalloc(1, sizeof(*state)); |
935 | c->mux_ctx = state; | 935 | c->mux_ctx = state; |
936 | channel_register_cleanup(c->self, | 936 | channel_register_cleanup(c->self, |
937 | mux_master_control_cleanup_cb, 0); | 937 | mux_master_control_cleanup_cb, 0); |