mcst-linux-kernel/patches-2024.06.26/cpu-1.4.3/0013-patches-cpu-1.4.3.patch

12 lines
347 B
Diff

--- orig/src/plugins/ldap/ld.c 2020-02-25 17:02:31.373208428 +0300
+++ new/src/plugins/ldap/ld.c 2020-02-25 17:03:18.178203238 +0300
@@ -810,7 +810,7 @@
return -10;
if (gid != NULL)
{
- gid = ldap_get_values (ld, pos, gid)[0];
+ gid = ldap_get_values (ld, pos, gid);
if (gid != NULL)
return atoi (gid);
else