9c9
< * $FreeBSD: head/crypto/openssh/sshconnect.c 60576 2000-05-15 05:24:25Z kris $
---
> * $FreeBSD: head/crypto/openssh/sshconnect.c 61212 2000-06-03 09:58:15Z kris $
13c13
< RCSID("$OpenBSD: sshconnect.c,v 1.72 2000/05/04 09:50:22 markus Exp $");
---
> RCSID("$OpenBSD: sshconnect.c,v 1.74 2000/05/17 16:57:02 markus Exp $");
256c256
< memcpy(hostaddr, ai->ai_addr, sizeof(*hostaddr));
---
> memcpy(hostaddr, ai->ai_addr, ai->ai_addrlen);
302,316d301
< char *
< chop(char *s)
< {
< char *t = s;
< while (*t) {
< if(*t == '\n' || *t == '\r') {
< *t = '\0';
< return s;
< }
< t++;
< }
< return s;
<
< }
<
< * $FreeBSD: head/crypto/openssh/sshconnect.c 60576 2000-05-15 05:24:25Z kris $
---
> * $FreeBSD: head/crypto/openssh/sshconnect.c 61212 2000-06-03 09:58:15Z kris $
13c13
< RCSID("$OpenBSD: sshconnect.c,v 1.72 2000/05/04 09:50:22 markus Exp $");
---
> RCSID("$OpenBSD: sshconnect.c,v 1.74 2000/05/17 16:57:02 markus Exp $");
256c256
< memcpy(hostaddr, ai->ai_addr, sizeof(*hostaddr));
---
> memcpy(hostaddr, ai->ai_addr, ai->ai_addrlen);
302,316d301
< char *
< chop(char *s)
< {
< char *t = s;
< while (*t) {
< if(*t == '\n' || *t == '\r') {
< *t = '\0';
< return s;
< }
< t++;
< }
< return s;
<
< }
<