--- 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);
|