- (dtucker) [openbsd-compat/bindresvport.c] Update from OpenBSD 1.16 -> 1.17.

This commit is contained in:
Darren Tucker 2005-11-10 17:54:46 +11:00
parent 6f15c07ce3
commit fe80d7a068
2 changed files with 4 additions and 5 deletions

View File

@ -41,6 +41,7 @@
- (dtucker) [openbsd-compat/mktemp.c] Update from OpenBSD 1.17 -> 1.19. - (dtucker) [openbsd-compat/mktemp.c] Update from OpenBSD 1.17 -> 1.19.
- (dtucker) [openbsd-compat/rresvport.c] Update from OpenBSD 1.6 -> 1.8. - (dtucker) [openbsd-compat/rresvport.c] Update from OpenBSD 1.6 -> 1.8.
- (dtucker) [openbsd-compat/bindresvport.c] Add "OPENBSD ORIGINAL" marker. - (dtucker) [openbsd-compat/bindresvport.c] Add "OPENBSD ORIGINAL" marker.
- (dtucker) [openbsd-compat/bindresvport.c] Update from OpenBSD 1.16 -> 1.17.
20051105 20051105
- (djm) OpenBSD CVS Sync - (djm) OpenBSD CVS Sync
@ -3283,4 +3284,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3983 2005/11/10 06:52:08 dtucker Exp $ $Id: ChangeLog,v 1.3984 2005/11/10 06:54:46 dtucker Exp $

View File

@ -1,6 +1,6 @@
/* This file has be substantially modified from the original OpenBSD source */ /* This file has be substantially modified from the original OpenBSD source */
/* $OpenBSD: bindresvport.c,v 1.15 2003/05/20 22:42:35 deraadt Exp $ */ /* $OpenBSD: bindresvport.c,v 1.16 2005/04/01 07:44:03 otto Exp $ */
/* /*
* Copyright 1996, Jason Downs. All rights reserved. * Copyright 1996, Jason Downs. All rights reserved.
@ -44,9 +44,7 @@
* Bind a socket to a privileged IP port * Bind a socket to a privileged IP port
*/ */
int int
bindresvport_sa(sd, sa) bindresvport_sa(int sd, struct sockaddr *sa)
int sd;
struct sockaddr *sa;
{ {
int error, af; int error, af;
struct sockaddr_storage myaddr; struct sockaddr_storage myaddr;