]> granicus.if.org Git - postgresql/commitdiff
Fix assignment operator thinko
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 24 Jan 2015 14:15:56 +0000 (11:15 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 24 Jan 2015 14:15:56 +0000 (11:15 -0300)
Pointed out by Michael Paquier

src/bin/scripts/vacuumdb.c

index 506cdc7def27adbfa5a925b1becbfeca131eeefb..8e4e613ce15f9040472a1b8b3576cc8681987949 100644 (file)
@@ -884,7 +884,7 @@ select_loop(int maxFd, fd_set *workerset, bool *aborting)
                        i = -1;
 
                        if (WSAGetLastError() == WSAEINTR)
-                               errno == EINTR;
+                               errno = EINTR;
                }
 #endif