Author: tridge
Date: 2004-10-17 05:29:03 +0000 (Sun, 17 Oct 2004)
New Revision: 3015

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/lib/socket&rev=3015&nolog=1

Log:
fixed typo noticed by abartlett


Modified:
   branches/SAMBA_4_0/source/lib/socket/socket.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/socket/socket.c
===================================================================
--- branches/SAMBA_4_0/source/lib/socket/socket.c       2004-10-17 05:12:59 UTC (rev 
3014)
+++ branches/SAMBA_4_0/source/lib/socket/socket.c       2004-10-17 05:29:03 UTC (rev 
3015)
@@ -236,12 +236,13 @@
 
 const struct socket_ops *socket_getops_byname(const char *name, enum socket_type type)
 {
-       if (strequal("ip", name) || strequal("ipv4", name)) {
+       if (strcmp("ip", name) == 0 || 
+           strcmp("ipv4", name) == 0) {
                return socket_ipv4_ops();
        }
 
-       if (strequal("unix", name)) {
-               return socket_ipv4_ops();
+       if (strcmp("unix", name) == 0) {
+               return socket_unixdom_ops();
        }
 
        return NULL;

Reply via email to