]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix typo in unexecuted code
authorMark Andrews <marka@isc.org>
Wed, 1 Sep 2004 04:38:43 +0000 (04:38 +0000)
committerMark Andrews <marka@isc.org>
Wed, 1 Sep 2004 04:38:43 +0000 (04:38 +0000)
lib/isc/win32/socket.c

index af18e1117e34201062a23c3645848039448bd736..8a6073259cc62e450e04e38b3ecdfff24a760d72 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: socket.c,v 1.34 2004/06/30 23:35:17 marka Exp $ */
+/* $Id: socket.c,v 1.35 2004/09/01 04:38:43 marka Exp $ */
 
 /* This code has been rewritten to take advantage of Windows Sockets
  * I/O Completion Ports and Events. I/O Completion Ports is ONLY
@@ -1918,7 +1918,7 @@ isc_socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type,
                if ((pf == AF_INET6)
                    && (setsockopt(sock->fd, IPPROTO_IPV6, IPV6_PKTINFO,
                                   (void *)&on, sizeof(on)) < 0)) {
-                       isc__strerror(WSAGetLaastError(), strbuf, sizeof(strbuf));
+                       isc__strerror(WSAGetLastError(), strbuf, sizeof(strbuf));
                        UNEXPECTED_ERROR(__FILE__, __LINE__,
                                         "setsockopt(%d, IPV6_PKTINFO) %s: %s",
                                         sock->fd,