1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-14 17:36:33 +00:00

Style change, neater syntax.

This commit is contained in:
henri
2013-04-22 19:34:01 +00:00
parent af59333757
commit a3fbe7d7d6

View File

@@ -98,8 +98,10 @@ int nsock_proxychain_new(const char *proxystr, nsock_proxychain *chain, nsock_po
if (proxystr) {
struct proxy_parser *parser;
for (parser = proxy_parser_new(proxystr); !parser->done; proxy_parser_next(parser)) {
parser = proxy_parser_new(proxystr);
while (!parser->done) {
gh_list_append(&pxc->nodes, parser->value);
proxy_parser_next(parser);
}
proxy_parser_delete(parser);
}