]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Fix calloc argument transposition
authorKurt Zeilenga <kurt@openldap.org>
Fri, 6 Aug 1999 00:16:08 +0000 (00:16 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 6 Aug 1999 00:16:08 +0000 (00:16 +0000)
libraries/liblber/encode.c

index 51b76912c4e92d85f8b86f0ac7a1a523724ee62d..24d8bc3c7ddad3ec67a482d82ab739f6ecb34ad1 100644 (file)
@@ -340,7 +340,7 @@ ber_start_seqorset( BerElement *ber, unsigned long tag )
 {
        Seqorset        *new;
 
-       if ( (new = (Seqorset *) calloc( sizeof(Seqorset), 1 ))
+       if ( (new = (Seqorset *) calloc( 1, sizeof(Seqorset) ))
            == NULLSEQORSET )
                return( -1 );
        new->sos_ber = ber;