OSSP CVS Repository

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

ossp-pkg/var/var.c 1.92 -> 1.93

--- var.c        2003/02/10 20:21:49     1.92
+++ var.c        2003/02/10 20:38:18     1.93
@@ -748,11 +748,11 @@
             goto error_return;
         if (rc > 0) {
             p += rc;
-            if (!tokenbuf_append
-                (result, tmp.begin, tmp.end - tmp.begin)) {
+            if (!tokenbuf_merge(result, &tmp)) {
                 rc = VAR_ERR_OUT_OF_MEMORY;
                 goto error_return;
             }
+            tokenbuf_free(&tmp);
         }
     } while (rc > 0);
 

CVSTrac 2.0.1