You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2005/11/03 04:38:34 UTC
svn commit: r330429 -
/webservices/axis2/trunk/c/modules/util/test/util_hash_test.c
Author: samisa
Date: Wed Nov 2 19:38:29 2005
New Revision: 330429
URL: http://svn.apache.org/viewcvs?rev=330429&view=rev
Log:
hash test changed according to changes in axis2_hash
Modified:
webservices/axis2/trunk/c/modules/util/test/util_hash_test.c
Modified: webservices/axis2/trunk/c/modules/util/test/util_hash_test.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/test/util_hash_test.c?rev=330429&r1=330428&r2=330429&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/test/util_hash_test.c (original)
+++ webservices/axis2/trunk/c/modules/util/test/util_hash_test.c Wed Nov 2 19:38:29 2005
@@ -1,5 +1,5 @@
#include "util_hash_test.h"
-
+#include "axis2_string.h"
typedef struct a
{
char *value;
@@ -22,14 +22,14 @@
actual = (a *) AXIS2_MALLOC(environment->allocator, sizeof (a));
- actual->value = axis2_strdup("value1");
+ actual->value = strdup("value1");
- ht = axis2_hash_make (environment);
+ ht = axis2_hash_make (&environment);
axis2_hash_set (ht, key1, AXIS2_HASH_KEY_STRING, actual);
- for (i = axis2_hash_first (ht, environment); i; i = axis2_hash_next (environment, i))
+ for (i = axis2_hash_first (ht, &environment); i; i = axis2_hash_next (&environment, i))
{
axis2_hash_this (i, NULL, NULL, &v);