summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
34b0302)
Author: noodles
Date: 2002/11/16 14:01:59
Added checking to ensure we return no more than maxkey keys from fetch_key_text.
llfree(wordlist, NULL);
wordlist = NULL;
llfree(wordlist, NULL);
wordlist = NULL;
- for (newkeylist = keylist; newkeylist != NULL;
+ for (newkeylist = keylist;
+ newkeylist != NULL && numkeys < config.maxkeys;
newkeylist = newkeylist->next) {
keyid = 0;
newkeylist = newkeylist->next) {
keyid = 0;