[dovecot-cvs] dovecot/src/auth auth-request-handler.c,1.16,1.17
tss at dovecot.org
tss at dovecot.org
Sat Nov 4 11:22:20 UTC 2006
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv16884
Modified Files:
auth-request-handler.c
Log Message:
If passdb returned only userdb_ prefixed extra fields, don't add an extra
TAB to the auth client's OK reply.
Index: auth-request-handler.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request-handler.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- auth-request-handler.c 15 Oct 2006 15:52:29 -0000 1.16
+++ auth-request-handler.c 4 Nov 2006 11:22:17 -0000 1.17
@@ -139,7 +139,7 @@
str_append(str, fields[src]);
}
}
- return str_c(str);
+ return str_len(str) == 0 ? NULL : str_c(str);
}
static void auth_callback(struct auth_request *request,
More information about the dovecot-cvs
mailing list