liquid_feedback_frontend

changeset 1636:8e4fed876772

Bugfix for nattrs > 1
author bsw
date Mon Feb 08 22:22:53 2021 +0100 (2021-02-08)
parents bbb537ba81b2
children 6fb549c147cb
files lib/mldap/mldap.c
line diff
     1.1 --- a/lib/mldap/mldap.c	Mon Feb 08 16:26:21 2021 +0100
     1.2 +++ b/lib/mldap/mldap.c	Mon Feb 08 22:22:53 2021 +0100
     1.3 @@ -350,7 +350,7 @@
     1.4        free(attrs);
     1.5        return luaL_error(L, "Element in attribute list is not a string");
     1.6      }
     1.7 -    attrs[i] = lua_tostring(L, -1);
     1.8 +    attrs[attr_idx] = lua_tostring(L, -1);
     1.9    }
    1.10    // attrs[nattrs] = NULL;  // unnecessary due to calloc
    1.11  

Impressum / About Us