fix parsing of epsv ports (from Love)

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11481 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-10-16 15:46:43 +00:00
parent c39b674c7c
commit 5948f454c6

View File

@@ -396,6 +396,9 @@ getreply (int expecteof)
if (p) {
p++;
strlcpy(pasv, p, sizeof(pasv));
p = strrchr(pasv, ')');
if (p)
*p = '\0';
}
}
return code / 100;