Fixed incorrect error path

The inet_aton() function returns non-zero in case of success.
This commit is contained in:
Sebastian Huber
2012-02-15 10:02:50 +01:00
parent 8c85ca3f30
commit f14327a24d
-2
View File
@@ -591,8 +591,6 @@ static int rtems_tftp_open_worker(
if (he == NULL)
return ENOENT;
memcpy (&farAddress, he->h_addr, sizeof (farAddress));
} else {
return ENOENT;
}
/*