diff options
author | Dodji Seketeli <dodji@seketeli.org> | 2007-09-11 12:52:44 +0200 |
---|---|---|
committer | Dodji Seketeli <dodji@seketeli.org> | 2007-09-11 12:52:44 +0200 |
commit | 496cf2c46d2123c3bed3e6878f8f9a62e87ce559 (patch) | |
tree | 643ff354846dc664cb12f1dc67366cceae1388de /Xtranssock.c | |
parent | 88e141225113fcc4ebe5e8fe361e75673cdbf9ff (diff) |
libxtrans: fixed a typo in my last commit
* Xtranssock.c: (SocketReopen): oops fix a typo in my last commit.
Diffstat (limited to 'Xtranssock.c')
-rw-r--r-- | Xtranssock.c | 2 |
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); |