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:
parent
07e0094365
commit
9c92cb7636
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user