Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/crypto/external/bsd/libsaslc/dist/src
On Feb 14, 9:30pm, tn%catvmics.ne.jp@localhost (Takeshi Nakayama) wrote:
-- Subject: Re: CVS commit: src/crypto/external/bsd/libsaslc/dist/src
| >>> "Christos Zoulas" <christos%netbsd.org@localhost> wrote
|
| > Module Name: src
| > Committed By: christos
| > Date: Sun Feb 13 05:39:52 UTC 2011
| >
| > Modified Files:
| > src/crypto/external/bsd/libsaslc/dist/src: mech.c
| >
| > Log Message:
| > Make all mechanisms optional, so we can compile in only the ones we want.
|
| > @@ -100,7 +106,9 @@
| > saslc__error_set_errno(ERR(ctx), ERROR_NOMEM);
| > return NULL;
| > }
| > - for (i = 0; saslc__mechanisms[i] != NULL; i++) {
| > + for (i = 0; __arraycount(saslc__mechanisms); i++) {
| > + if (saslc__mechanisms[i] == NULL)
| > + continue;
| > if ((node = calloc(1, sizeof(*node))) == NULL)
| > goto error;
Fixed, thanks.
christos
Home |
Main Index |
Thread Index |
Old Index