1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Fix typo found by Volker. Thanks for the review.

Jeremy.
This commit is contained in:
Jeremy Allison 2008-12-31 18:34:52 -08:00
parent 07e0094365
commit 9c92cb7636

View File

@ -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);
}