OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/lmtp2nntp_config.c versions 1.56 and 1.57
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/lmtp2nntp_config.c 1.56 -> 1.57

--- lmtp2nntp_config.c   2002/02/27 10:02:59     1.56
+++ lmtp2nntp_config.c   2002/02/27 10:22:38     1.57
@@ -1369,7 +1369,7 @@
     log2(ctx, DEBUG, "rgx_lookup variable \"%s\" (%d)", var_ptr, var_len);
     rc = VAR_ERR_UNDEFINED_VARIABLE;
     i = atoi(var_ptr); /* works with both '}' and '\0' termination */
-    if (i <= ctx->nMatch) {
+    if (i < ctx->nMatch) {
         *val_ptr = ctx->acpMatch[i];
         *val_len = strlen(ctx->acpMatch[i]);
         *val_size = 0;

CVSTrac 2.0.1