LBDING-21

This commit is contained in:
Anthony Minessale 2010-08-17 13:09:16 -05:00
parent 93b3139092
commit 28fdc32317
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ test_stack (int cs)
printf ("ikstack strcat bug:\nExpected: %s\n Result: %s\n", buf, old); printf ("ikstack strcat bug:\nExpected: %s\n Result: %s\n", buf, old);
exit (1); exit (1);
} }
iks_stack_delete (s); iks_stack_delete (&s);
} }
int main (int argc, char *argv[]) int main (int argc, char *argv[])

View File

@ -57,7 +57,7 @@ int main (int argc, char *argv[])
test_cmp ("patrician@morpork.gov/gabber", "cohen@guild.org/gsm", IKS_ID_FULL, IKS_ID_FULL); test_cmp ("patrician@morpork.gov/gabber", "cohen@guild.org/gsm", IKS_ID_FULL, IKS_ID_FULL);
test_cmp ("peter@family.com", "peter@family.com/clam", IKS_ID_PARTIAL, 0); test_cmp ("peter@family.com", "peter@family.com/clam", IKS_ID_PARTIAL, 0);
iks_stack_delete (my_stack); iks_stack_delete (&my_stack);
return 0; return 0;
} }