X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=pipex_win32.c;h=8924c277e9d94500aef8920a483051593afcbd71;hb=learn;hp=41431b3a657dcc0a1f5ee7cefc13d44549dc2ea6;hpb=de010509fa0e57ba955da6512c714fbff8606af3;p=polyglot.git diff --git a/pipex_win32.c b/pipex_win32.c index 41431b3..8924c27 100644 --- a/pipex_win32.c +++ b/pipex_win32.c @@ -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(