Getting this error:

In file included from ../../src/lib/lib.h:6:0,
                 from auth-common.h:4,
                 from userdb-vpopmail.c:5:
../../config.h:791:0: note: this is the location of the previous definition
 #define VERSION "2.2.30"
 ^
userdb-vpopmail.c: In function ‘userdb_vpopmail_get_quota’:
userdb-vpopmail.c:72:6: error: too many arguments to function ‘var_expand’
  if (var_expand(quota, template, tab, error_r) < 0)
      ^
In file included from auth-request.h:5:0,
                 from userdb.h:89,
                 from userdb-vpopmail.c:6:
../../src/lib/var-expand.h:18:6: note: declared here
 void var_expand(string_t *dest, const char *str,
      ^
userdb-vpopmail.c:72:2: error: void value not ignored as it ought to be
  if (var_expand(quota, template, tab, error_r) < 0)

--
*Bob Wooldridge*
Blog: http://kc0dxf.net/blog/

Reply via email to