mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Remove setting unused variable value in FTP::parse_eftp
This commit is contained in:
parent
aaca36dc22
commit
ff4d1a4121
1 changed files with 0 additions and 3 deletions
|
@ -76,10 +76,7 @@ static zeek::RecordValPtr parse_eftp(const char* line)
|
|||
{
|
||||
const char* nptr = strchr(line, delimiter);
|
||||
if ( nptr == NULL )
|
||||
{
|
||||
nptr = line + strlen(line);
|
||||
good = false;
|
||||
}
|
||||
|
||||
std::string s(line, nptr-line); // extract IP address
|
||||
struct in6_addr result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue