Fix ustream_ssl_poll
authorChristoph Ziebuhr <chris@codefrickler.de>
Mon, 1 Dec 2014 13:41:34 +0000 (14:41 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 1 Dec 2014 14:55:20 +0000 (15:55 +0100)
Signed-off-by: Christoph Ziebuhr <chris@codefrickler.de>
ustream-ssl.c

index b6b74017e90f4e480a68c6e787dad27cae714609..cf8cb846ca64d2650e413f7e0e9a78fa9531288d 100644 (file)
@@ -153,7 +153,7 @@ static bool ustream_ssl_poll(struct ustream *s)
        bool fd_poll;
 
        fd_poll = ustream_poll(us->conn);
-       return __ustream_ssl_poll(s) || fd_poll;
+       return __ustream_ssl_poll(us->conn) || fd_poll;
 }
 
 static void ustream_ssl_stream_init(struct ustream_ssl *us)