OSSP CVS Repository

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

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