Add error messages in case of signature error
[oweals/opkg-lede.git] / libopkg / conffile_list.c
index 27d48d52824551400e004f7ff24030e6d0c16959..401c6b408c14229fc36d30fb013788d7cb42bb07 100644 (file)
@@ -1,4 +1,4 @@
-/* conffile_list.c - the itsy package management system
+/* conffile_list.c - the opkg package management system
 
    Carl D. Worth
 
@@ -15,7 +15,7 @@
    General Public License for more details.
 */
 
-#include "opkg.h"
+#include "includes.h"
 
 #include "conffile_list.h"
 
@@ -42,6 +42,7 @@ int conffile_list_push(conffile_list_t *list, conffile_t *data)
 
 conffile_list_elt_t *conffile_list_pop(conffile_list_t *list)
 {
-    return nv_pair_list_pop(list);
+    conffile_list_elt_t *pos = nv_pair_list_pop(list);
+    return pos;
 }