Mercurial > dovecot > original-hg > dovecot-1.2
comparison src/auth/mech-winbind.c @ 8307:33eae1ca0be0 HEAD
Added support for userdb checkpassword. Patch by Sascha Wilde.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 22 Oct 2008 00:29:54 +0300 |
parents | 6a64e64fa3a3 |
children | 84eea1977632 |
comparison
equal
deleted
inserted
replaced
8306:3e8f847f68a4 | 8307:33eae1ca0be0 |
---|---|
65 int status, ret; | 65 int status, ret; |
66 | 66 |
67 if (winbind->pid == -1) | 67 if (winbind->pid == -1) |
68 return; | 68 return; |
69 | 69 |
70 /* FIXME: use child-wait.h API */ | |
70 if ((ret = waitpid(winbind->pid, &status, WNOHANG)) <= 0) { | 71 if ((ret = waitpid(winbind->pid, &status, WNOHANG)) <= 0) { |
71 if (ret < 0 && errno != ECHILD && errno != EINTR) | 72 if (ret < 0 && errno != ECHILD && errno != EINTR) |
72 i_error("waitpid() failed: %m"); | 73 i_error("waitpid() failed: %m"); |
73 return; | 74 return; |
74 } | 75 } |