diff options
Diffstat (limited to 'mail/lmtpd/files/patch-re::re-tre.c')
-rw-r--r-- | mail/lmtpd/files/patch-re::re-tre.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/mail/lmtpd/files/patch-re::re-tre.c b/mail/lmtpd/files/patch-re::re-tre.c deleted file mode 100644 index f9678b248919..000000000000 --- a/mail/lmtpd/files/patch-re::re-tre.c +++ /dev/null @@ -1,31 +0,0 @@ ---- re/re-tre.c.orig Mon Jul 12 14:33:52 2004 -+++ re/re-tre.c Mon Jul 12 14:36:05 2004 -@@ -117,6 +117,7 @@ - static int re_exec(RE *re, char *string) { - regaparams_t regparams ; - regamatch_t regamatch = {0,}; -+ int ret; - - memcpy(®params, re->hint, sizeof(regaparams_t)); - -@@ -131,16 +132,17 @@ - regparams.max_err=1; - #endif - -- int ret = tre_regaexec(re->code, string, ®amatch, regparams, 0); -+ ret = tre_regaexec(re->code, string, ®amatch, regparams, 0); - return ret!=0; - } - - char *re_tre_params(RE *re, char *s) { -+ int *counter; -+ int end = 0; - regaparams_t *params = malloc(sizeof(regaparams_t)); - tre_regaparams_default(params); -- int *counter = ¶ms->max_err; -+ counter = ¶ms->max_err; - *counter = 1; -- int end = 0; - printf("s=%s\n", s); - while(*s && !end) { - if (*s>='0' && *s<='9') { |