From: Anton Kikin <
a.k...@tano-systems.com>
When calling the swupdate_set_version_range_type() function, the update
type must be passed in the first argument, not the last.
Signed-off-by: Anton Kikin <
a.k...@tano-systems.com>
---
ipc/network_ipc-if.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ipc/network_ipc-if.c b/ipc/network_ipc-if.c
index 5cc3550c..7c209ad4 100644
--- a/ipc/network_ipc-if.c
+++ b/ipc/network_ipc-if.c
@@ -399,10 +399,10 @@ int swupdate_set_version_range(const char *minversion,
const char *currentversion)
{
- return swupdate_set_version_range_type(minversion,
+ return swupdate_set_version_range_type(NULL,
+ minversion,
maxversion,
- currentversion,
- NULL);
+ currentversion);
}
int swupdate_dwl_url (const char *artifact_name, const char *url)
--
2.34.1.windows.1