Skip to content

Commit

Permalink
Fixed max comm
Browse files Browse the repository at this point in the history
  • Loading branch information
paltas committed Oct 23, 2005
1 parent 393677b commit 1cc413a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion util/maxcomm.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ int main(void)
struct dirent * dirp = NULL;
DIR* dir = NULL;

negotiateTelnetOptions(1);

if ((s = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
{
Expand All @@ -287,6 +286,9 @@ int main(void)
}
}

negotiateTelnetOptions(1);


len = strlen(remote.sun_path) + sizeof(remote.sun_family);
if (connect(s, (struct sockaddr *)&remote, len) == -1)
{
Expand Down

0 comments on commit 1cc413a

Please sign in to comment.