Branch: Tag:

1998-04-06

1998-04-06 20:13:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed bug in open_socket().

Rev: lib/modules/Stdio.pmod:1.19

25:    int open_socket(int|void port, string|void address)    {    _fd=Fd(); +  switch(query_num_arg()) { +  case 0: +  return ::open_socket(); +  case 1: +  return ::open_socket(port); +  default:    return ::open_socket(port, address);    } -  +  }       int connect(string host, int port)    {