Mercurial > dovecot > original-hg > dovecot-1.2
diff src/auth/mech-gssapi.c @ 4451:1a35d53c18fc HEAD
Array API redesigned to work using unions. It now provides type safety
without having to enable DEBUG, as long as the compiler supports typeof().
Its API changed a bit. It now allows directly accessing the array contents,
although that's not necessarily recommended. Changed existing array usage to
be type safe in a bit more places. Removed array_t completely. Also did
s/modifyable/modifiable/.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 28 Jun 2006 16:10:25 +0300 |
parents | f8d37e26a2b3 |
children | fc5ae043fdcc |
line wrap: on
line diff
--- a/src/auth/mech-gssapi.c Wed Jun 28 01:51:47 2006 +0300 +++ b/src/auth/mech-gssapi.c Wed Jun 28 16:10:25 2006 +0300 @@ -106,7 +106,7 @@ "Obtaining credentials for %s", str_c(principal_name)); inbuf.length = str_len(principal_name); - inbuf.value = str_c_modifyable(principal_name); + inbuf.value = str_c_modifiable(principal_name); major_status = gss_import_name(&minor_status, &inbuf, GSS_C_NT_HOSTBASED_SERVICE,