large README update

This commit is contained in:
vanhauser-thc 2014-05-08 16:13:32 +02:00
commit aff114ee8e
3 changed files with 229 additions and 18 deletions

View file

@ -2377,7 +2377,10 @@ int main(int argc, char *argv[]) {
bail("Illegal port definition");
}
}
hydra_options.server = target_pos;
if (*target_pos == 0)
hydra_options.server = NULL;
else
hydra_options.server = target_pos;
if (port_pos != NULL)
hydra_options.port = port = atoi(port_pos);
if (param_pos != NULL) {