diff options
Diffstat (limited to 'xhost.c')
-rw-r--r-- | xhost.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -506,7 +506,7 @@ change_host(Display *dpy, char *name, Bool add) (cp = strchr(name, '@'))) { char *netname = name; #ifdef SECURE_RPC - static char username[MAXNETNAMELEN]; + static char username[MAXNETNAMELEN + 1]; if (!cp[1]) { struct passwd *pwd; |