Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/crypto/dist/ssh Pull up revision 1.23 (requested by ito...



details:   https://anonhg.NetBSD.org/src/rev/eb5ed4919516
branches:  netbsd-1-6
changeset: 530727:eb5ed4919516
user:      tron <tron%NetBSD.org@localhost>
date:      Thu Sep 18 15:40:31 2003 +0000

description:
Pull up revision 1.23 (requested by itojun in ticket #1476):
typo.  markus@openbsd

diffstat:

 crypto/dist/ssh/ssh-agent.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 880715b6b10a -r eb5ed4919516 crypto/dist/ssh/ssh-agent.c
--- a/crypto/dist/ssh/ssh-agent.c       Thu Sep 18 09:55:19 2003 +0000
+++ b/crypto/dist/ssh/ssh-agent.c       Thu Sep 18 15:40:31 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ssh-agent.c,v 1.15.2.2 2003/09/17 23:25:53 christos Exp $      */
+/*     $NetBSD: ssh-agent.c,v 1.15.2.3 2003/09/18 15:40:31 tron Exp $  */
 /*
  * Author: Tatu Ylonen <ylo%cs.hut.fi@localhost>
  * Copyright (c) 1995 Tatu Ylonen <ylo%cs.hut.fi@localhost>, Espoo, Finland
@@ -734,7 +734,7 @@
                sockets = xrealloc(sockets, new_alloc * sizeof(sockets[0]));
        else
                sockets = xmalloc(new_alloc * sizeof(sockets[0]));
-       for (i = old_alloc; i < sockets_alloc; i++)
+       for (i = old_alloc; i < new_alloc; i++)
                sockets[i].type = AUTH_UNUSED;
        sockets_alloc = new_alloc;
        sockets[old_alloc].fd = fd;



Home | Main Index | Thread Index | Old Index