Enforce numeric application IDs
[src/app-framework-main.git] / src / wgtpkg-uninstall.c
index a919a86..f435838 100644 (file)
@@ -1,5 +1,5 @@
 /*
- Copyright (C) 2015-2018 IoT.bzh
+ Copyright (C) 2015-2019 IoT.bzh
 
  author: José Bollo <jose.bollo@iot.bzh>
 
@@ -72,7 +72,8 @@ int uninstall_widget(const char *idaver, const char *root)
        }
        uconf.installdir = path;
        uconf.icondir = FWK_ICON_DIR;
-       uconf.port = 0;
+       uconf.new_afid = 0;
+       uconf.base_http_ports = 0;
        unit_uninstall(ifo, &uconf);
        wgt_info_unref(ifo);