Commit cc3b32db authored by benoit's avatar benoit

remove useless check


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9733 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a56fb88b
...@@ -46,13 +46,13 @@ int inet_aton (const char * str, struct in_addr * add) ...@@ -46,13 +46,13 @@ int inet_aton (const char * str, struct in_addr * add)
add1 = atoi(pch); add1 = atoi(pch);
pch = strpbrk(pch,"."); pch = strpbrk(pch,".");
if (pch == 0 || ++pch == 0) return 0; if (!pch) return 0;
add2 = atoi(pch); add2 = atoi(pch);
pch = strpbrk(pch,"."); pch = strpbrk(pch,".");
if (pch == 0 || ++pch == 0) return 0; if (!pch) return 0;
add3 = atoi(pch); add3 = atoi(pch);
pch = strpbrk(pch,"."); pch = strpbrk(pch,".");
if (pch == 0 || ++pch == 0) return 0; if (!pch) return 0;
add4 = atoi(pch); add4 = atoi(pch);
if (!add1 || (add1|add2|add3|add4) > 255) return 0; if (!add1 || (add1|add2|add3|add4) > 255) return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment