wmii

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

commit 6066d65b0390d607555bf9070de845e76d255ebf
parent 2aec823caaa3c17ef531b1b9c58fcf7d863711ac
Author: salva <salva@firulillo.hopto.org>
Date:   Sun, 22 Jan 2006 21:55:19 +0000

Added a missing exclamation sign for strncmp


Diffstat:
libixp2/socket.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libixp2/socket.c b/libixp2/socket.c @@ -81,7 +81,7 @@ ixp_connect_sock(char *address) addr = &p[1]; type = address; /* unix, tcp */ - if(strncmp(type, "unix", 5)) + if(!strncmp(type, "unix", 5)) return connect_unix_sock(addr); else if(!strncmp(type, "tcp", 4)) return connect_tcp_sock(addr);