diff --git a/ChangeLog b/ChangeLog index 9c0449a8a..1d61ae639 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,9 @@ - markus@cvs.openbsd.org 2001/03/14 15:15:58 [sftp-int.c] add version command + - deraadt@cvs.openbsd.org 2001/03/14 22:50:25 + [sftp-server.c] + note no getopt() - (stevesk) ssh-keyscan.c: specify "openbsd-compat/fake-queue.h" - (bal) Cygwin README change by Corinna Vinschen @@ -4556,4 +4559,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.959 2001/03/14 21:30:18 mouring Exp $ +$Id: ChangeLog,v 1.960 2001/03/15 00:09:15 mouring Exp $ diff --git a/sftp-server.c b/sftp-server.c index 178084577..966122452 100644 --- a/sftp-server.c +++ b/sftp-server.c @@ -22,7 +22,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: sftp-server.c,v 1.23 2001/03/07 10:11:23 djm Exp $"); +RCSID("$OpenBSD: sftp-server.c,v 1.24 2001/03/14 22:50:25 deraadt Exp $"); #include "buffer.h" #include "bufaux.h" @@ -1031,6 +1031,8 @@ main(int ac, char **av) int in, out, max; ssize_t len, olen, set_size; + /* XXX should use getopt */ + __progname = get_progname(av[0]); handle_init();