Use ber_scanf 'm' format for ignored UDP string

This commit is contained in:
Howard Chu 2002-01-17 23:30:05 +00:00
parent 9b4f933649
commit 25cd89b443

View 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 */