]> git.ipfire.org Git - thirdparty/curl.git/commit
connect: remove superfluous conditional
authorDaniel Gustafsson <daniel@yesql.se>
Fri, 30 Jul 2021 07:40:15 +0000 (09:40 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Fri, 30 Jul 2021 07:40:15 +0000 (09:40 +0200)
commit3df8d08d00a82f0bfc076ca1000abb209e0b9770
treeb35cc6204ea748a72f5992d531f250768a056af5
parentfbf26594e38ebf6e8b0f0e0583fbb7dd833720a4
connect: remove superfluous conditional

Commit dbd16c3e2 cleaned up the logic for traversing the addrinfos,
but the move left a conditional on ai which no longer is needed as
the while loop reevaluation will cover it.

Closes #7511
Reviewed-by: Carlo Marcelo Arenas Belón
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
lib/connect.c