svn commit: samba r13764 - in trunk/source/libsmb: .

derrell at samba.org derrell at samba.org
Wed Mar 1 01:49:15 GMT 2006


Author: derrell
Date: 2006-03-01 01:49:14 +0000 (Wed, 01 Mar 2006)
New Revision: 13764

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13764

Log:
Add the missing comment about needing to save the new share name.
Modified:
   trunk/source/libsmb/libsmb_cache.c


Changeset:
Modified: trunk/source/libsmb/libsmb_cache.c
===================================================================
--- trunk/source/libsmb/libsmb_cache.c	2006-03-01 01:48:33 UTC (rev 13763)
+++ trunk/source/libsmb/libsmb_cache.c	2006-03-01 01:49:14 UTC (rev 13764)
@@ -156,7 +156,11 @@
                                         continue;
                                 }
 
-
+                                /*
+                                 * Save the new share name.  We've
+                                 * disconnected from the old share, and are
+                                 * about to connect to the new one.
+                                 */
                                 SAFE_FREE(srv->share_name);
                                 srv->share_name = SMB_STRDUP(share);
                                 if (!srv->share_name) {



More information about the samba-cvs mailing list