liquid_feedback_frontend

view lib/mldap/convert_errorcodes.lua @ 1085:8be69c8d99a8

Fixed error when accessing member profile without being logged in
author bsw
date Sat Aug 02 21:26:53 2014 +0200 (2014-08-02)
parents 58f48a8a202a
children
line source
1 #!/usr/bin/env lua
2 for line in io.lines() do
3 local ident, code = line:match("^#define[ \t]+LDAP_([A-Z][A-Z_]*)[ \t]+([^ \t/]+)")
4 if ident then
5 io.stdout:write(' {"', ident:lower(), '", ', tonumber(code) or code, '},\n')
6 end
7 end

Impressum / About Us