Replaced "\\MAILSLOT\\NET\\NETLOGON" with NET_LOGON_MAILSLOT constant.
authorTim Potter <tpot@samba.org>
Fri, 25 Aug 2000 04:18:50 +0000 (04:18 +0000)
committerTim Potter <tpot@samba.org>
Fri, 25 Aug 2000 04:18:50 +0000 (04:18 +0000)
source/libsmb/namequery.c

index 6e0bf3375e285d67bbbcfe3a0512f7ac2005b034..41924d4631e9001159ad135bf49cba2a4d7fb1e5 100644 (file)
@@ -838,7 +838,7 @@ BOOL lookup_pdc_name(const char *srcname, const char *domain, struct in_addr *pd
        int len;
        struct sockaddr_in sock_name;
        int sock_len = sizeof(sock_name);
-       const char *mailslot = "\\MAILSLOT\\NET\\NETLOGON";
+       const char *mailslot = NET_LOGON_MAILSLOT;
        char *mailslot_name;
        char buffer[1024];
        char *bufp;