OSSP CVS Repository

ossp - Check-in [2086]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2086
Date: 2002-Apr-18 17:27:40 (local)
2002-Apr-18 15:27:40 (UTC)
User:thl
Branch:
Comment: put it in the right context. Thanks, rse
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c      1.5 -> 1.6     2 inserted, 1 deleted

ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c 1.5 -> 1.6

--- lmtp2nntp_msg.c      2002/04/18 14:09:25     1.5
+++ lmtp2nntp_msg.c      2002/04/18 15:27:40     1.6
@@ -573,6 +573,7 @@
 {
     int i;
 
+fprintf(stderr, "DEBUG: #1 HALLO\n");
     if (val_ptr == NULL) {
         *out_ptr = "";
         *out_len = 0;
@@ -748,7 +749,7 @@
         logbook(ctx->l2, L2_LEVEL_ERROR, "configure regex callback failed with %s (%d)", var_strerror(ctx->config_varctx, rc, &cp) == VAR_OK ? cp : "Unknown Error", rc);
         throw(0,0,0);
     }
-    if ((rc = var_config(ctx->config_varregex, VAR_CONFIG_CB_OPERATION, operate_cb, NULL)) != VAR_OK) {
+    if ((rc = var_config(ctx->config_varctx, VAR_CONFIG_CB_OPERATION, operate_cb, NULL)) != VAR_OK) { //FIXME isn't main a better place to do this?
         logbook(ctx->l2, L2_LEVEL_ERROR, "configure operate callback failed with %s (%d)", var_strerror(ctx->config_varctx, rc, &cp) == VAR_OK ? cp : "Unknown Error", rc);
         throw(0,0,0);
     }

CVSTrac 2.0.1