Mercurial > dropbear
comparison svr-main.c @ 723:0fd32a552ea5
Fix a few compile warnings
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 23 Mar 2013 23:17:01 +0800 |
parents | 167fdc091c05 |
children | 7f604f9b3756 |
comparison
equal
deleted
inserted
replaced
722:4a274f47eabd | 723:0fd32a552ea5 |
---|---|
269 if (fork_ret < 0) { | 269 if (fork_ret < 0) { |
270 dropbear_log(LOG_WARNING, "Error forking: %s", strerror(errno)); | 270 dropbear_log(LOG_WARNING, "Error forking: %s", strerror(errno)); |
271 goto out; | 271 goto out; |
272 } | 272 } |
273 | 273 |
274 addrandom(&fork_ret, sizeof(fork_ret)); | 274 addrandom((void*)&fork_ret, sizeof(fork_ret)); |
275 | 275 |
276 if (fork_ret > 0) { | 276 if (fork_ret > 0) { |
277 | 277 |
278 /* parent */ | 278 /* parent */ |
279 childpipes[conn_idx] = childpipe[0]; | 279 childpipes[conn_idx] = childpipe[0]; |