mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Use ber_scanf 'm' format for ignored UDP string
This commit is contained in:
parent
9b4f933649
commit
25cd89b443
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user