Ticket #8142: 902-dingaling-tests.patch

File 902-dingaling-tests.patch, 690 bytes (added by bradyzhu@…, 6 years ago)
  • libs/iksemel/test/tst-ikstack.c

    a b test_stack (int cs) 
    4040                printf ("ikstack strcat bug:\nExpected: %s\n  Result: %s\n", buf, old); 
    4141                exit (1); 
    4242        } 
    43         iks_stack_delete (s); 
     43        iks_stack_delete (&s); 
    4444} 
    4545 
    4646int main (int argc, char *argv[]) 
  • libs/iksemel/test/tst-jid.c

    a b int main (int argc, char *argv[]) 
    5757        test_cmp ("patrician@morpork.gov/gabber", "cohen@guild.org/gsm", IKS_ID_FULL, IKS_ID_FULL); 
    5858        test_cmp ("peter@family.com", "peter@family.com/clam", IKS_ID_PARTIAL, 0); 
    5959 
    60         iks_stack_delete (my_stack); 
     60        iks_stack_delete (&my_stack); 
    6161 
    6262        return 0; 
    6363}