[SCM] Samba Shared Repository - branch master updated - 9c92cb763653644e129b0777b3f8fc2f333bb7c6

Jeremy Allison jra at samba.org
Thu Jan 1 02:35:35 GMT 2009


The branch, master has been updated
       via  9c92cb763653644e129b0777b3f8fc2f333bb7c6 (commit)
      from  07e0094365e8dc360a83eec2e7cf9b1d5d8d6d00 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 9c92cb763653644e129b0777b3f8fc2f333bb7c6
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Dec 31 18:34:52 2008 -0800

    Fix typo found by Volker. Thanks for the review.
    Jeremy.

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

Summary of changes:
 librpc/ndr/ndr_basic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/librpc/ndr/ndr_basic.c b/librpc/ndr/ndr_basic.c
index 921af15..97f7505 100644
--- a/librpc/ndr/ndr_basic.c
+++ b/librpc/ndr/ndr_basic.c
@@ -757,7 +757,7 @@ _PUBLIC_ void ndr_print_array_uint8(struct ndr_print *ndr, const char *name,
 	ndr->depth++;
 	for (i=0;i<count;i++) {
 		char *idx=NULL;
-		if (asprintf(&idx, "[%d]", i) == -1) {
+		if (asprintf(&idx, "[%d]", i) != -1) {
 			ndr_print_uint8(ndr, idx, data[i]);
 			free(idx);
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list