Author: vlendec
Date: 2006-12-21 21:30:11 +0000 (Thu, 21 Dec 2006)
New Revision: 20310

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

Log:
We've checked for EA's and support for them further up already.

Volker

Modified:
   branches/SAMBA_3_0/source/smbd/trans2.c
   branches/SAMBA_3_0_24/source/smbd/trans2.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/trans2.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/trans2.c     2006-12-21 21:15:59 UTC (rev 
20309)
+++ branches/SAMBA_3_0/source/smbd/trans2.c     2006-12-21 21:30:11 UTC (rev 
20310)
@@ -4845,7 +4845,7 @@
        }
 
        /* Try and set any given EA. */
-       if (total_data) {
+       if (ea_list) {
                status = set_ea(conn, NULL, directory, ea_list);
                talloc_destroy(ctx);
                if (!NT_STATUS_IS_OK(status)) {

Modified: branches/SAMBA_3_0_24/source/smbd/trans2.c
===================================================================
--- branches/SAMBA_3_0_24/source/smbd/trans2.c  2006-12-21 21:15:59 UTC (rev 
20309)
+++ branches/SAMBA_3_0_24/source/smbd/trans2.c  2006-12-21 21:30:11 UTC (rev 
20310)
@@ -4842,7 +4842,7 @@
        }
 
        /* Try and set any given EA. */
-       if (total_data) {
+       if (ea_list) {
                status = set_ea(conn, NULL, directory, ea_list);
                talloc_destroy(ctx);
                if (!NT_STATUS_IS_OK(status)) {

Reply via email to