Applied a patch from David Fifield to fix an error message in perlipc.pod
authorJesse Vincent <jesse@bestpractical.com>
Sat, 10 Oct 2009 20:48:38 +0000 (16:48 -0400)
committerJesse Vincent <jesse@bestpractical.com>
Sat, 10 Oct 2009 20:48:38 +0000 (16:48 -0400)
Subject: Comment doesn't match code in perlipc.pod.
Date: Thu, 30 Jul 2009 07:31:48 -0600
To: perlbug@perl.org
From: David Fifield <david@bamsoftware.com>

pod/perlipc.pod

index 77f0b6e..6424615 100644 (file)
@@ -1129,7 +1129,7 @@ differ from the system on which it's being run:
        my $hisiaddr = inet_aton($host)     || die "unknown host";
        my $hispaddr = sockaddr_in($port, $hisiaddr);
        socket(SOCKET, PF_INET, SOCK_STREAM, $proto)   || die "socket: $!";
-       connect(SOCKET, $hispaddr)          || die "bind: $!";
+       connect(SOCKET, $hispaddr)          || die "connect: $!";
        my $rtime = '    ';
        read(SOCKET, $rtime, 4);
        close(SOCKET);