uclient: Add string error function
authorDaniel Danzberger <daniel@dd-wrt.com>
Thu, 5 Dec 2019 16:51:58 +0000 (17:51 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 17 Jun 2020 20:16:38 +0000 (22:16 +0200)
commit99aebe3a425711f1840da149346c65f223ed183e
tree613c645b2f79e6e579cbd5f8ce2462f15137b0cb
parent3b3e368dead01979e985cb167873fe9868b15d19
uclient: Add string error function

This add's the uclient_strerror function, which resolves and error code
to a string message.

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
(cherry picked from commit fef6d3d311ac45c662c01e0ebd9cb0f6c8d7145c)
uclient.c
uclient.h