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:
@@ -396,6 +396,9 @@ getreply (int expecteof)
|
|||||||
if (p) {
|
if (p) {
|
||||||
p++;
|
p++;
|
||||||
strlcpy(pasv, p, sizeof(pasv));
|
strlcpy(pasv, p, sizeof(pasv));
|
||||||
|
p = strrchr(pasv, ')');
|
||||||
|
if (p)
|
||||||
|
*p = '\0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return code / 100;
|
return code / 100;
|
||||||
|
Reference in New Issue
Block a user