summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2007-12-30 19:14:43 -0600
committerStefan Metzmacher <metze@samba.org>2007-12-30 13:21:01 -0600
commit3a0a6e810ae7f259649e3be800942617b741242d (patch)
tree4296d4b2525c9c3a509d065ca4957344bbf2c360
parentfcb8285339134264043aa1aad48d8cff4770036a (diff)
downloadsamba-3a0a6e810ae7f259649e3be800942617b741242d.tar.gz
samba-3a0a6e810ae7f259649e3be800942617b741242d.tar.bz2
samba-3a0a6e810ae7f259649e3be800942617b741242d.zip
r26633: A couple of fixes in comments.
(This used to be commit 9ff6568f9563bf72d11bf437fb6718e6fafe1824)
-rw-r--r--source4/libnet/libnet_user.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/source4/libnet/libnet_user.c b/source4/libnet/libnet_user.c
index 75fd8f2000..d5ccf34a57 100644
--- a/source4/libnet/libnet_user.c
+++ b/source4/libnet/libnet_user.c
@@ -866,7 +866,7 @@ static void continue_users_enumerated(struct rpc_request *req);
*
* @param ctx initialised libnet context
* @param mem_ctx memory context of this call
- * @param r pointer to a structure containing arguments and results of this call
+ * @param r pointer to structure containing arguments and results of this call
* @param monitor function pointer for receiving monitor messages
* @return compostite context of this request
*/
@@ -969,7 +969,7 @@ static void continue_domain_queried(struct rpc_request *req)
continue_samr_domain_opened, s->monitor_fn);
if (!prereq_met) return;
- /* prepare arguments od EnumDomainUsers call */
+ /* prepare arguments of EnumDomainUsers call */
s->user_list.in.domain_handle = &s->ctx->samr.handle;
s->user_list.in.max_size = s->page_size;
s->user_list.in.resume_handle = &s->resume_index;
@@ -1001,7 +1001,7 @@ static void continue_samr_domain_opened(struct composite_context *ctx)
c->status = libnet_DomainOpen_recv(ctx, s->ctx, c, &s->domain_open);
if (!composite_is_ok(c)) return;
- /* prepare arguments od EnumDomainUsers call */
+ /* prepare arguments of EnumDomainUsers call */
s->user_list.in.domain_handle = &s->ctx->samr.handle;
s->user_list.in.max_size = s->page_size;
s->user_list.in.resume_handle = &s->resume_index;
@@ -1032,10 +1032,12 @@ static void continue_users_enumerated(struct rpc_request *req)
c->status = dcerpc_ndr_request_recv(req);
if (!composite_is_ok(c)) return;
- /* get the actual status of the rpc call result (instead of rpc layer status) */
+ /* get the actual status of the rpc call result
+ (instead of rpc layer status) */
c->status = s->user_list.out.result;
- /* we're interested in status "ok" as well as two enum-specific status codes */
+ /* we're interested in status "ok" as well as two
+ enum-specific status codes */
if (NT_STATUS_IS_OK(c->status) ||
NT_STATUS_EQUAL(c->status, STATUS_MORE_ENTRIES) ||
NT_STATUS_EQUAL(c->status, NT_STATUS_NO_MORE_ENTRIES)) {
@@ -1082,7 +1084,7 @@ static void continue_users_enumerated(struct rpc_request *req)
*
* @param c composite context returned by send request routine
* @param mem_ctx memory context of this call
- * @param r pointer to a structure containing arguments and result of this call
+ * @param r pointer to structure containing arguments and result of this call
* @return nt status
*/
NTSTATUS libnet_UserList_recv(struct composite_context* c, TALLOC_CTX *mem_ctx,
@@ -1128,7 +1130,7 @@ NTSTATUS libnet_UserList_recv(struct composite_context* c, TALLOC_CTX *mem_ctx,
*
* @param ctx initialised libnet context
* @param mem_ctx memory context of this call
- * @param r pointer to a structure containing arguments and result of this call
+ * @param r pointer to structure containing arguments and result of this call
* @return nt status
*/
NTSTATUS libnet_UserList(struct libnet_context *ctx,