]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/result.c
Added LDAP_LOG messages
[openldap] / libraries / libldap / result.c
index 918bba0029c8aa397ccdb6203c9b249b10659217..16189ef36e2246ed9218a774f48043cc63054438 100644 (file)
@@ -427,9 +427,8 @@ try_read1msg(
        }
 #ifdef LDAP_CONNECTIONLESS
        if (LDAP_IS_UDP(ld) && ld->ld_options.ldo_version == LDAP_VERSION2) {
-               char *blank = NULL;
-               ber_scanf(ber, "a{", &blank);
-               if (blank) ber_memfree(blank);
+               struct berval blank;
+               ber_scanf(ber, "m{", &blank);
        }
 #endif
        /* the message type */