Mercurial > hg > xmms-sid
changeset 971:3edc4c508f99
Use the generic MD5 hash printing function.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 21 Nov 2012 00:16:20 +0200 |
parents | d90bca05521e |
children | 74ca6fb979fd |
files | src/xs_length.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xs_length.c Wed Nov 21 00:16:03 2012 +0200 +++ b/src/xs_length.c Wed Nov 21 00:16:20 2012 +0200 @@ -530,10 +530,8 @@ if (item == NULL) { - gint i; xs_error("No matching hash in SLDB: %s\n", filename); - for (i = 0; i < XS_MD5HASH_LENGTH; i++) - fprintf(stderr, "%02x", keyItem.md5Hash[i]); + xs_md5_print(stderr, keyItem.md5Hash); fprintf(stderr, "\n"); } return (item != NULL) ? *item : NULL;