s3:utils: avoid '//' comments
authorStefan Metzmacher <metze@samba.org>
Sat, 8 Oct 2011 05:21:49 +0000 (07:21 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 8 Oct 2011 05:24:14 +0000 (07:24 +0200)
The compiler on openindiana doesn't like them.

metze

source3/utils/net_idmap_check.c
source3/utils/net_rpc_registry.c

index 2cde6e1644b10e34e054bee611e8e23399e9e722..1f54121113088c86525e042816c029914769cad1 100644 (file)
@@ -970,7 +970,7 @@ static bool check_commit(struct check_ctx* ctx)
                check_transaction_cancel(ctx);
                return false;
        }
-       if (ctx->opts.test) { //get_action?
+       if (ctx->opts.test) { /*get_action? */
                return check_transaction_cancel(ctx);
        } else {
                return check_transaction_commit(ctx);
index 94330af8d0f442999ea3636b9b2d636b3d4d1394..a6f118f2eb7e4e053de523c53fa6708d7665d22f 100644 (file)
@@ -509,7 +509,7 @@ static NTSTATUS registry_enumvalues2(TALLOC_CTX *ctx,
                        goto error;
                }
 
-               assert(value_length<=data_size); //???
+               assert(value_length<=data_size); /*??? */
 
                values[i] = regval_compose(values,
                                           name_buf.name,