public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/main] Cygwin: fhandler_netdrive: use WNNC_NET_SMB instead of WNNC_NET_LANMAN
@ 2024-03-24 19:02 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2024-03-24 19:02 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b95ab5982e125918cdaa3342ce41e6b445867a26

commit b95ab5982e125918cdaa3342ce41e6b445867a26
Author:     Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Sun Mar 24 19:39:49 2024 +0100
Commit:     Corinna Vinschen <corinna@vinschen.de>
CommitDate: Sun Mar 24 19:39:49 2024 +0100

    Cygwin: fhandler_netdrive: use WNNC_NET_SMB instead of WNNC_NET_LANMAN
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/fhandler/netdrive.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/winsup/cygwin/fhandler/netdrive.cc b/winsup/cygwin/fhandler/netdrive.cc
index fc71016de304..d8dda4c424f8 100644
--- a/winsup/cygwin/fhandler/netdrive.cc
+++ b/winsup/cygwin/fhandler/netdrive.cc
@@ -367,7 +367,7 @@ create_thread_and_wait (DIR *dir)
   /* For the Network root, fetch WSD info. */
   if (strlen (dir->__d_dirname) == 2)
     {
-      ndi.provider = WNNC_NET_LANMAN;
+      ndi.provider = WNNC_NET_SMB;
       ndi.sem = CreateSemaphore (&sec_none_nih, 0, 2, NULL);
       thr = new cygthread (thread_netdrive_wsd, &ndi, "netdrive_wsd");
       if (thr->detach (ndi.sem))
@@ -399,7 +399,7 @@ create_thread_and_wait (DIR *dir)
   if (!strcmp (dir->__d_dirname + 2, "tsclient"))
     ndi.provider = WNNC_NET_TERMSRV;
   else
-    ndi.provider = WNNC_NET_LANMAN;
+    ndi.provider = WNNC_NET_SMB;
   ndi.sem = CreateSemaphore (&sec_none_nih, 0, 2, NULL);
   thr = new cygthread (thread_netdrive_wnet, &ndi, "netdrive_smb");
   if (thr->detach (ndi.sem))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-24 19:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-24 19:02 [newlib-cygwin/main] Cygwin: fhandler_netdrive: use WNNC_NET_SMB instead of WNNC_NET_LANMAN Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).