svn commit: samba r5738 - in branches/SAMBA_3_0/source/libsmb: .

jerry at samba.org jerry at samba.org
Fri Mar 11 10:35:41 GMT 2005


Author: jerry
Date: 2005-03-11 10:35:41 +0000 (Fri, 11 Mar 2005)
New Revision: 5738

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

Log:
fix my build breakage; fix a few compiler warnings
Modified:
   branches/SAMBA_3_0/source/libsmb/libsmb_cache.c
   branches/SAMBA_3_0/source/libsmb/libsmbclient.c


Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/libsmb_cache.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/libsmb_cache.c	2005-03-11 10:33:01 UTC (rev 5737)
+++ branches/SAMBA_3_0/source/libsmb/libsmb_cache.c	2005-03-11 10:35:41 UTC (rev 5738)
@@ -143,7 +143,7 @@
                          * a connection to the server (other than the
                          * attribute server connection) is cool.
                          */
-                        if (context->options.one_share_per_server) {
+                        if (context->internal->options.one_share_per_server) {
                                 /*
                                  * The currently connected share name
                                  * doesn't match the requested share, so

Modified: branches/SAMBA_3_0/source/libsmb/libsmbclient.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/libsmbclient.c	2005-03-11 10:33:01 UTC (rev 5737)
+++ branches/SAMBA_3_0/source/libsmb/libsmbclient.c	2005-03-11 10:35:41 UTC (rev 5738)
@@ -4370,9 +4370,7 @@
                 /* Yup. */
                 ret = cacl_get(context, ctx, srv,
                                ipc_srv == NULL ? NULL : &ipc_srv->cli, 
-                               &pol,
-                               (char *) path, (char *) name,
-                               (const char *) value, size);
+                               &pol, path, name, (const char *) value, size);
                 if (ret < 0 && errno == 0) {
                         errno = smbc_errno(context, &srv->cli);
                 }



More information about the samba-cvs mailing list