fixed formatting of uuids in debug output
authorAndrew Tridgell <tridge@samba.org>
Tue, 16 Dec 2003 12:11:00 +0000 (12:11 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 16 Dec 2003 12:11:00 +0000 (12:11 +0000)
source/librpc/ndr/ndr_basic.c

index cde0b52f3beea1855cb15c73fd5d656a55625009..be4f16e89bc69be29fd8465c8439fda5a715c19a 100644 (file)
@@ -804,7 +804,7 @@ const char *GUID_string(TALLOC_CTX *mem_ctx, const struct GUID *guid)
 
 void ndr_print_GUID(struct ndr_print *ndr, const char *name, const struct GUID *guid)
 {
-       ndr->print(ndr, "%-25s: %s", GUID_string(ndr->mem_ctx, guid));
+       ndr->print(ndr, "%-25s: %s", name, GUID_string(ndr->mem_ctx, guid));
 }
 
 void ndr_print_DATA_BLOB(struct ndr_print *ndr, const char *name, DATA_BLOB r)