commit | 450b2346a2c05864797d2c72911d90ded159b285 | [log] [tgz] |
---|---|---|
author | Adriano Cordova <adrianox@gmail.com> | Mon Nov 11 18:08:59 2024 -0300 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat Nov 16 21:35:05 2024 +0100 |
tree | 50ed2fe26b25f327ec9a03e78bdc7ab97b0fe3e9 | |
parent | 47f35e35a5d5e496e75e9d04868e498f297230a6 [diff] |
net: wget: make wget_with_dns return value compatible with its lwip version There are two wget_with_dns functions, one in the legacy network stack and one in lwip, but the return values are not compatible. This commit modifies the legacy version of wget_with_dns so that the return values are compatible: 0 on success, otherwise a negative error. This way wget_with_dns can be called in a network stack agnostic way. Signed-off-by: Adriano Cordova <adrianox@gmail.com>