diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-23 10:25:03 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-23 10:25:03 +0000 |
commit | 64713e0511f8044be088032104a783a77cb44802 (patch) | |
tree | 6f43b98d76a1d8a76db24a27760f85f9de29f99f /client.c | |
parent | 14fdb49c1906edf3cfe996965dbb3e46a4d486ad (diff) | |
download | rtmux-64713e0511f8044be088032104a783a77cb44802.tar.gz rtmux-64713e0511f8044be088032104a783a77cb44802.tar.bz2 rtmux-64713e0511f8044be088032104a783a77cb44802.zip |
Tweak a couple of variable names.
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $Id: client.c,v 1.16 2007-10-23 09:36:19 nicm Exp $ */ +/* $Id: client.c,v 1.17 2007-10-23 10:25:03 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -42,7 +42,7 @@ client_init(char *path, struct client_ctx *cctx, int start_server) struct stat sb; struct msg_identify_data data; struct winsize ws; - size_t sz; + size_t size; int mode; u_int retries; @@ -71,8 +71,8 @@ retry: memset(&sa, 0, sizeof sa); sa.sun_family = AF_UNIX; - sz = strlcpy(sa.sun_path, path, sizeof sa.sun_path); - if (sz >= sizeof sa.sun_path) { + size = strlcpy(sa.sun_path, path, sizeof sa.sun_path); + if (size >= sizeof sa.sun_path) { log_warnx("%s: %s", path, strerror(ENAMETOOLONG)); return (-1); } |