Mercurial > dropbear
comparison svr-x11fwd.c @ 1129:45830474d83c coverity
merge up to date, attempt to fix travis.yml
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 12 Jun 2015 23:02:15 +0800 |
parents | aaf576b27a10 |
children | a3e8389e01ff 888e3d17e962 |
comparison
equal
deleted
inserted
replaced
1077:26c1f9b8f82e | 1129:45830474d83c |
---|---|
105 /* returns DROPBEAR_FAILURE or DROPBEAR_SUCCESS */ | 105 /* returns DROPBEAR_FAILURE or DROPBEAR_SUCCESS */ |
106 static void x11accept(struct Listener* listener, int sock) { | 106 static void x11accept(struct Listener* listener, int sock) { |
107 | 107 |
108 int fd; | 108 int fd; |
109 struct sockaddr_in addr; | 109 struct sockaddr_in addr; |
110 int len; | 110 socklen_t len; |
111 int ret; | 111 int ret; |
112 struct ChanSess * chansess = (struct ChanSess *)(listener->typedata); | 112 struct ChanSess * chansess = (struct ChanSess *)(listener->typedata); |
113 | 113 |
114 len = sizeof(addr); | 114 len = sizeof(addr); |
115 | 115 |