summaryrefslogtreecommitdiff
path: root/libmailutils/server/msrv.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2015-06-26 10:50:31 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2015-06-26 11:00:06 +0300
commitfb16f4dff202b1b0033386c6d2e0169ab35b9103 (patch)
tree4070fb79c441357a055dbd7160a9d23bda899624 /libmailutils/server/msrv.c
parent30bc0edd27e8d5eb6fa49aa26624c1dfb7cb2f38 (diff)
downloadmailutils-fb16f4dff202b1b0033386c6d2e0169ab35b9103.tar.gz
mailutils-fb16f4dff202b1b0033386c6d2e0169ab35b9103.tar.bz2
Bigfixes.
* configure.ac: Fix checks for readline. If it is not present - bail out if it was explicitly requested and silently disable it otherwise. Check for dbm_dirfno and dbm_pagfno (see libmu_dbm/ndbm.c, below). * examples/mboxidx.c (set_charset_filter): Fix array dimensions. * lib/python.c (python_done): add missing return statement. * libmailutils/address/address.c (mu_address_union): Fix size argument to memset. * libmailutils/server/msrv.c (mu_m_server_get_hints): Likewise. * libmu_compat/vartab.c (vardefn_free): Likewise. * libmailutils/cfg/parser.y (_set_fun): cast enum to size_t before comparison * libmailutils/diag/wd.c (mu_wd): fix while loop. * libmailutils/tests/url-parse.c (main): Fix printf format. * libmu_dbm/ndbm.c (_ndbm_get_fd): One of dbm_dirfno or dbm_pagfno may be missing (on FreeBSD, dbm_pagfno expands to a non-defined macro, which produces compilation error. * mail/mailvar.c (mailvar_varptr_comp): Remove. (mailvar_list_copy): Use mailvar_variable_comp instead of the removed mailvar_varptr_comp.
Diffstat (limited to 'libmailutils/server/msrv.c')
-rw-r--r--libmailutils/server/msrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmailutils/server/msrv.c b/libmailutils/server/msrv.c
index 66daefc20..00b37dc4f 100644
--- a/libmailutils/server/msrv.c
+++ b/libmailutils/server/msrv.c
@@ -391,7 +391,7 @@ mu_m_server_get_hints (mu_m_server_t srv, struct mu_sockaddr_hints *hints)
{
if (!hints)
return EINVAL;
- memcpy (hints, &srv->hints, sizeof (hints));
+ memcpy (hints, &srv->hints, sizeof (*hints));
return 0;
}

Return to:

Send suggestions and report system problems to the System administrator.