summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@seketeli.org>2007-09-11 12:52:44 +0200
committerDodji Seketeli <dodji@seketeli.org>2007-09-11 12:52:44 +0200
commit496cf2c46d2123c3bed3e6878f8f9a62e87ce559 (patch)
tree643ff354846dc664cb12f1dc67366cceae1388de
parent88e141225113fcc4ebe5e8fe361e75673cdbf9ff (diff)
libxtrans: fixed a typo in my last commit
* Xtranssock.c: (SocketReopen): oops fix a typo in my last commit.
-rw-r--r--Xtranssock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xtranssock.c b/Xtranssock.c
index 52f9aa1..33f0290 100644
--- a/Xtranssock.c
+++ b/Xtranssock.c
@@ -582,7 +582,7 @@ TRANS(SocketReopen) (int i, int type, int fd, char *port)
addr->sa_len = portlen + 1;
#endif
addr->sa_family = AF_UNIX;
-#ifdef HAVE_STRLCPY
+#ifdef HAS_STRLCPY
strlcpy(addr->sa_data, port, portlen);
#else
strncpy(addr->sa_data, port, portlen);