wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 27c76e1d1fb427a8edf62b539a4cef91fba321e4
parent 39fc05f71c38b66e8a9f2446e4fe7d7cca821e83
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Sun, 29 Jan 2006 14:43:11 +0200

renamed IXP_MAX_CONN into IXP_MAX_CACHE


Diffstat:
libixp2/ixp.h | 2+-
libixp2/socket.c | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libixp2/ixp.h b/libixp2/ixp.h @@ -12,7 +12,7 @@ #define IXP_VERSION "9P2000" #define IXP_MAX_VERSION 32 #define IXP_MAX_ERROR 128 -#define IXP_MAX_CONN 32 +#define IXP_MAX_CACHE 32 #define IXP_MAX_MSG 8192 #define IXP_MAX_FLEN 128 #define IXP_MAX_ULEN 32 diff --git a/libixp2/socket.c b/libixp2/socket.c @@ -132,7 +132,7 @@ create_inet_sock(char *host, char **errstr) return -1; } - if(listen(fd, IXP_MAX_CONN) < 0) { + if(listen(fd, IXP_MAX_CACHE) < 0) { *errstr = "cannot listen on socket"; close(fd); return -1; @@ -171,7 +171,7 @@ create_unix_sock(char *file, char **errstr) } chmod(file, S_IRWXU); - if(listen(fd, IXP_MAX_CONN) < 0) { + if(listen(fd, IXP_MAX_CACHE) < 0) { *errstr = "cannot listen on socket"; close(fd); return -1;