Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 667118 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +3 lines)
Line  Link Here
0
-- a/src/auth/userdb-passwd.c
0
++ b/src/auth/userdb-passwd.c
Lines 176-183 static void passwd_iterate_next(struct userdb_iterate_context *_ctx) Link Here
176
	while ((pw = getpwent()) != NULL) {
176
	while ((pw = getpwent()) != NULL) {
177
		if (passwd_iterate_want_pw(pw, set)) {
177
		if (passwd_iterate_want_pw(pw, set)) {
178
			_ctx->callback(pw->pw_name, _ctx->context);
178
			_ctx->callback(pw->pw_name, _ctx->context);
179
			errno = 0;
179
			return;
180
			return;
180
		}
181
		}
182
		errno = 0;
181
	}
183
	}
182
	if (errno != 0) {
184
	if (errno != 0) {
183
		i_error("getpwent() failed: %m");
185
		i_error("getpwent() failed: %m");

Return to bug 667118