comparison src/auth/mech-winbind.c @ 6225:336ad0e3c78f HEAD

Assert-crashfix.
author Timo Sirainen <tss@iki.fi>
date Tue, 07 Aug 2007 14:38:13 +0300
parents 657931e0af80
children 315b954801f7
comparison
equal deleted inserted replaced
6224:4e352390abb7 6225:336ad0e3c78f
57 static void winbind_helper_connect(struct winbind_helper *winbind) 57 static void winbind_helper_connect(struct winbind_helper *winbind)
58 { 58 {
59 int infd[2], outfd[2]; 59 int infd[2], outfd[2];
60 pid_t pid; 60 pid_t pid;
61 61
62 i_assert(winbind->in_pipe == NULL); 62 if (winbind->in_pipe != NULL)
63 return;
63 64
64 if (pipe(infd) < 0) { 65 if (pipe(infd) < 0) {
65 i_error("pipe() failed: %m"); 66 i_error("pipe() failed: %m");
66 return; 67 return;
67 } 68 }