]> andersk Git - openssh.git/blobdiff - bsd-bindresvport.c
- (djm) Make PAM support optional, enable with --with-pam
[openssh.git] / bsd-bindresvport.c
index 536a5056f83e197fd878668885c3f87075f6aef9..7faf73191b13a355b7b378317aedd3da65b3f6c0 100644 (file)
@@ -88,6 +88,9 @@ bindresvport_af(sd, sa, af)
        if (port == 0)
                port = (arc4random() % NPORTS) + STARTPORT;
 
+       /* Avoid warning */
+       error = -1;
+
        for(i = 0; i < NPORTS; i++) {
                *portp = htons(port);
                
This page took 0.161883 seconds and 4 git commands to generate.