s4-net-drs: fix some coding style issues
authorAndrew Tridgell <tridge@samba.org>
Thu, 11 Feb 2010 10:28:48 +0000 (21:28 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 11 Feb 2010 10:59:40 +0000 (21:59 +1100)
We should use the system/*.h headers for system includes. We also try
to avoid C++ comments.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/utils/net/drs/net_drs.c
source4/utils/net/drs/net_drs_kcc.c

index 7772d83aceea9c818c792242e700a642c7eca820..c28684314c79806f3929324a7f3791f4de11aab8 100644 (file)
@@ -25,8 +25,7 @@
 #include "net_drs.h"
 #include "lib/ldb/include/ldb.h"
 #include "lib/ldb_wrap.h"
-
-#include <unistd.h>
+#include "system/filesys.h"
 
 
 /**
index fb2c661d9b1990e2faffa0ad4a2ebc32c3a071b1..059b26fca56fcff091a27505ae65944580b062d9 100644 (file)
@@ -126,7 +126,7 @@ int net_drs_kcc_cmd(struct net_context *ctx, int argc, const char **argv)
 
        d_printf("%s\n", site_name);
        if (site_options) {
-               // TODO: print meaningfull site options here
+               /* TODO: print meaningfull site options here */
                d_printf("Current Site Options: 0x%X\n", site_options);
        } else {
                d_printf("Current Site Options: (none)\n");