OSSP CVS Repository

ossp - Difference in ossp-pkg/var/var_test.c versions 1.12 and 1.13
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/var/var_test.c 1.12 -> 1.13

--- var_test.c   2001/11/20 11:41:54     1.12
+++ var_test.c   2001/11/20 11:49:24     1.13
@@ -8,7 +8,7 @@
     const char *data;
 };
 
-static int env_lookup(void *context,
+static int var_lookup(void *context,
     const char *varname, size_t name_len,
     const char **data, size_t *data_len,
     size_t *buffer_size)
@@ -120,7 +120,7 @@
         printf("Test case #%02d: Unescaped input is '%s'.\n", i, buffer);
 #endif
         rc = var_expand(buffer, strlen(buffer), &tmp, &tmp_len,
-            &env_lookup, (void *)vars, NULL, 0);
+            &var_lookup, (void *)vars, NULL, 0);
         if (rc != VAR_OK) {
             printf ("Test case #%d: var_expand() \
                 failed with return code %d.\n", i, rc);

CVSTrac 2.0.1