]> xenbits.xensource.com Git - libvirt.git/commit
util: uuid: remove use of virHexToBin
authorJán Tomko <jtomko@redhat.com>
Sun, 23 Feb 2020 19:58:53 +0000 (20:58 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 24 Feb 2020 19:25:48 +0000 (20:25 +0100)
commit6ac33f22fd6f9ff297b6f5ffd8a38b9321bdb02c
tree890a57fce351c2a03b6b53c95e06ac5348a86e6e
parent49f4d54951f1b8402fba316d97a8ff6c515357fb
util: uuid: remove use of virHexToBin

Prefer g_ascii_xdigit_value to virHexToBin.

Check the return value of the function and
remove the g_ascii_isxdigit calls, since
they're done anyway internally.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
src/util/viruuid.c