summaryrefslogtreecommitdiff
path: root/libmailutils/sockaddr/str.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmailutils/sockaddr/str.c')
-rw-r--r--libmailutils/sockaddr/str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmailutils/sockaddr/str.c b/libmailutils/sockaddr/str.c
index 7eaa075da..e5bd5a1b5 100644
--- a/libmailutils/sockaddr/str.c
+++ b/libmailutils/sockaddr/str.c
@@ -1,5 +1,5 @@
/* GNU Mailutils -- a suite of utilities for electronic mail
- Copyright (C) 2011-2012, 2014-2015 Free Software Foundation, Inc.
+ Copyright (C) 2011-2012, 2014-2016 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -33,7 +33,7 @@
static char *default_sockaddr_text = "[not enogh memory]";
#define S_UN_NAME(sa, salen) \
- ((salen < mu_offsetof(struct sockaddr_un,sun_path)) ? \
+ ((salen <= mu_offsetof(struct sockaddr_un,sun_path)) ? \
"" : (sa)->sun_path)
int

Return to:

Send suggestions and report system problems to the System administrator.