OSSP CVS Repository

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

Check-in Number: 1552
Date: 2002-Jan-15 14:04:09 (local)
2002-Jan-15 13:04:09 (UTC)
User:thl
Branch:
Comment: map renamed to val and basic functionality successfully verified
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/lmtp2nntp_config.c      1.4 -> 1.5     4 inserted, 4 deleted

ossp-pkg/lmtp2nntp/lmtp2nntp_config.c 1.4 -> 1.5

--- lmtp2nntp_config.c   2002/01/15 13:02:20     1.4
+++ lmtp2nntp_config.c   2002/01/15 13:04:09     1.5
@@ -148,17 +148,17 @@
 
         printf("DEBUG: testint = %d, testintout = %d\n", testint, testintout);
 
-        if ((rc = val_reg(v, "foo", VAL_TYPE_INT, (void *)&testint)) != VAL_OK)
+        if ((rc = val_reg(v, "foo.bar", VAL_TYPE_INT, (void *)&testint)) != VAL_OK)
             die("val_reg");
 
         testint++;
-        if ((rc = val_get(v, "foo", &testintout)) != VAL_OK)
+        if ((rc = val_get(v, "foo.bar", &testintout)) != VAL_OK)
             die("val_get");
         printf("DEBUG: testint = %d, testintout = %d\n", testint, testintout);
 
-        if ((rc = val_set(v, "foo", 2)) != VAL_OK)
+        if ((rc = val_set(v, "foo.bar", 2)) != VAL_OK)
             die("val_set");
-        if ((rc = val_get(v, "foo", &testintout)) != VAL_OK)
+        if ((rc = val_get(v, "foo.bar", &testintout)) != VAL_OK)
             die("val_get");
         printf("DEBUG: testint = %d, testintout = %d\n", testint, testintout);
 

CVSTrac 2.0.1