Alter version number to 2.0.4
[polyglot.git] / pipex_win32.c
index 41431b3..8924c27 100644 (file)
@@ -466,7 +466,7 @@ typedef void (WINAPI *SPAM)(HANDLE, int);
 void pipex_set_affinity(pipex_t *pipex, int value){
     SPAM pSPAM;
 
-    if(pipex->hProcess) return;
+    if(!pipex->hProcess) return;
     if(value==-1) return;
 
     pSPAM = (SPAM) GetProcAddress(