X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/d361f0a5751bd515b3091808c5091678dfcff854..2dc6356a02ebe2e5c0428cefc18e64882d85b4a6:/testback.c diff --git a/testback.c b/testback.c index 2a468a6e..b676cfb5 100644 --- a/testback.c +++ b/testback.c @@ -1,4 +1,4 @@ -/* $Id: testback.c,v 1.2 2002/11/19 12:29:45 ben Exp $ */ +/* $Id: testback.c,v 1.4 2002/11/23 20:40:22 ben Exp $ */ /* * Copyright (c) 1999 Simon Tatham * Copyright (c) 1999 Ben Harris @@ -75,7 +75,8 @@ static char *loop_init(void *frontend_handle, void **backend_handle, struct loop_state *st = smalloc(sizeof(*st)); st->term = frontend_handle; - return (char *)st; + *backend_handle = st; + return NULL; } static int null_send(void *handle, char *buf, int len) {