Branch: Tag:

2014-08-26

2014-08-26 10:24:50 by Per Hedbor <ph@opera.com>

Fixed an issue with the connect argument parsing

5038:    int tmp, was_closed = FD < 0;    int fd, sent = 0;    -  if (args < 4) { +  if (args < 4) +  {    get_all_args("connect", args, "%S%*", &dest_addr, &dest_port); -  } if( args == 5 ) { +  } +  else if( args == 5 ) +  {    struct svalue *src_sv;    get_all_args("connect", args, "%S%*%*%*%S",    &dest_addr, &dest_port, &src_sv, &src_port, &data);