1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-06 04:56:33 +00:00

1.7.0-rc1: ported to FreeBSD: test.sh runssctpx; small fixes

This commit is contained in:
Gerhard Rieger 2008-09-23 14:29:09 +02:00
parent 784e378ede
commit 28cc25ec90
5 changed files with 40 additions and 11 deletions

View file

@ -136,7 +136,7 @@ char *sockaddr_info(const struct sockaddr *sa, socklen_t salen, char *buff, size
int n;
#if HAVE_STRUCT_SOCKADDR_SALEN
if ((n = snprintf(cp, blen, "LEN=%d ", sas->soa.sa_len)) < 0) {
if ((n = snprintf(cp, blen, "LEN=%d ", sau->soa.sa_len)) < 0) {
Warn1("sockaddr_info(): buffer too short ("F_Zu")", blen);
*buff = '\0';
return buff;