diff options
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 2 | ||||
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 2 | ||||
-rw-r--r-- | source3/rpc_server/srv_spoolss_util.c | 2 | ||||
-rw-r--r-- | source3/rpc_server/srv_srvsvc_nt.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index 116d529025..5087ec322a 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -1491,7 +1491,7 @@ NTSTATUS _samr_QueryDisplayInfo(struct pipes_struct *p, temp_size=max_entries*struct_size; if (temp_size > r->in.buf_size) { - max_entries = MIN((r->in.buf_size / struct_size),max_entries);; + max_entries = MIN((r->in.buf_size / struct_size),max_entries); DEBUG(5, ("_samr_QueryDisplayInfo: buffer size limits to " "only %d entries\n", max_entries)); } diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index defffb6923..a06e643cb8 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -4798,7 +4798,7 @@ static WERROR string_array_from_driver_info(TALLOC_CTX *mem_ctx, const char **array = NULL; if (string_array == NULL) { - return WERR_INVALID_PARAMETER;; + return WERR_INVALID_PARAMETER; } for (i=0; string_array[i] && string_array[i][0] != '\0'; i++) { diff --git a/source3/rpc_server/srv_spoolss_util.c b/source3/rpc_server/srv_spoolss_util.c index 79549ac90e..70601c862d 100644 --- a/source3/rpc_server/srv_spoolss_util.c +++ b/source3/rpc_server/srv_spoolss_util.c @@ -461,7 +461,7 @@ static WERROR winreg_printer_enumvalues(TALLOC_CTX *mem_ctx, uint8_t *data; uint32_t data_size; uint32_t length; - char n = '\0';; + char n = '\0'; name_buf.name = &n; name_buf.size = max_valnamelen + 2; diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c index 82b89390db..fe325d2a33 100644 --- a/source3/rpc_server/srv_srvsvc_nt.c +++ b/source3/rpc_server/srv_srvsvc_nt.c @@ -387,7 +387,7 @@ static void init_srv_share_info_502(struct pipes_struct *p, struct sec_desc_buf *sd_buf = NULL; size_t sd_size = 0; TALLOC_CTX *ctx = p->mem_ctx; - char *remark = talloc_strdup(ctx, lp_comment(snum));; + char *remark = talloc_strdup(ctx, lp_comment(snum)); if (remark) { remark = talloc_sub_advanced( |