The branch, v3-3-test has been updated
       via  8858ed261917ce6c80562f05f5407109d66bd6a8 (commit)
      from  7fea973c6a204f422d92c2abf1d40d3558808696 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 8858ed261917ce6c80562f05f5407109d66bd6a8
Author: Jeremy Allison <j...@samba.org>
Date:   Wed Feb 25 10:00:01 2009 -0800

    Fix some NetBSD warnings.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/printing/nt_printing.c |    6 ++++--
 source/smbd/reply.c           |    2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c
index 0d91836..ced2124 100644
--- a/source/printing/nt_printing.c
+++ b/source/printing/nt_printing.c
@@ -1373,7 +1373,8 @@ static int file_version_is_newer(connection_struct *conn, 
fstring new_file, fstr
                                 goto error_exit;
                        }
                        old_create_time = st.st_mtime;
-                       DEBUGADD(6,("file_version_is_newer: mod time = %ld 
sec\n", old_create_time));
+                       DEBUGADD(6,("file_version_is_newer: mod time = %ld 
sec\n",
+                               (long)old_create_time));
                }
        }
        close_file(fsp, NORMAL_CLOSE);
@@ -1414,7 +1415,8 @@ static int file_version_is_newer(connection_struct *conn, 
fstring new_file, fstr
                                goto error_exit;
                        }
                        new_create_time = st.st_mtime;
-                       DEBUGADD(6,("file_version_is_newer: mod time = %ld 
sec\n", new_create_time));
+                       DEBUGADD(6,("file_version_is_newer: mod time = %ld 
sec\n",
+                               (long)new_create_time));
                }
        }
        close_file(fsp, NORMAL_CLOSE);
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 8e757da..3eec795 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -2779,9 +2779,9 @@ void send_file_readbraw(connection_struct *conn,
 
                return;
        }
-#endif
 
 normal_readbraw:
+#endif
 
        outbuf = TALLOC_ARRAY(NULL, char, nread+4);
        if (!outbuf) {


-- 
Samba Shared Repository

Reply via email to