diff options
author | Werner Koch <[email protected]> | 2004-05-22 11:33:47 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2004-05-22 11:33:47 +0000 |
commit | 3624da002fcee186ecc772449d9305c5b6af7d0b (patch) | |
tree | 63f5ebb7bd3ec9526556623d6544166a768619b1 /g10/trustdb.c | |
parent | About to release 1.3.6 (diff) | |
download | gnupg-3624da002fcee186ecc772449d9305c5b6af7d0b.tar.gz gnupg-3624da002fcee186ecc772449d9305c5b6af7d0b.zip |
some late minor fixes.V1-3-6
Diffstat (limited to '')
-rw-r--r-- | g10/trustdb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c index 5cb69ccfe..9cf2eff67 100644 --- a/g10/trustdb.c +++ b/g10/trustdb.c @@ -1507,19 +1507,19 @@ mark_usable_uid_certs (KBNODE keyblock, KBNODE uidnode, signature. Returns 1 for match, and 0 for no match or regex error. */ static int -check_regexp(const char *exp,const char *string) +check_regexp(const char *expr,const char *string) { #ifdef DISABLE_REGEX /* When DISABLE_REGEX is defined, assume all regexps do not match. */ return 0; #elif defined(__riscos__) - return riscos_check_regexp(exp, string, DBG_TRUST); + return riscos_check_regexp(expr, string, DBG_TRUST); #else int ret; regex_t pat; - if(regcomp(&pat,exp,REG_ICASE|REG_NOSUB|REG_EXTENDED)!=0) + if(regcomp(&pat,expr,REG_ICASE|REG_NOSUB|REG_EXTENDED)!=0) return 0; ret=regexec(&pat,string,0,NULL,0); @@ -1527,7 +1527,7 @@ check_regexp(const char *exp,const char *string) regfree(&pat); if(DBG_TRUST) - log_debug("regexp \"%s\" on \"%s\": %s\n",exp,string,ret==0?"YES":"NO"); + log_debug("regexp \"%s\" on \"%s\": %s\n",expr,string,ret==0?"YES":"NO"); return (ret==0); #endif |