]> mj.ucw.cz Git - libucw.git/commitdiff
stralloc -> strdup.
authorMartin Mares <mj@ucw.cz>
Mon, 10 May 2004 14:12:16 +0000 (14:12 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 10 May 2004 14:12:16 +0000 (14:12 +0000)
lib/hash-test.c

index 66a07faa297a9f5bfef681691bd5d7905a5bed7d..25e4ff4df297a1e3bcdcc6b688a6a5812acbda2f 100644 (file)
@@ -98,7 +98,7 @@ static void test(void)
     {
       char x[32];
       sprintf(x, "abc%d", i);
-      test_new(stralloc(x));
+      test_new(xstrdup(x));
     }
   for (i=0; i<1024; i++)
     {