Don't print the function name when just outputting a \n.
authorgraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Thu, 23 Dec 2010 01:37:18 +0000 (01:37 +0000)
committergraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Thu, 23 Dec 2010 01:37:18 +0000 (01:37 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@591 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libopkg/opkg_cmd.c
libopkg/opkg_install.c

index 584d05d..29ae0cd 100644 (file)
@@ -1042,7 +1042,7 @@ opkg_what_depends_conflicts_cmd(enum depend_type what_field_type, int recursive,
                                        if (!pkg_dependence_satisfiable(possibility))
                                                opkg_msg(NOTICE,
                                                        " unsatisfiable");
-                                       opkg_msg(NOTICE, "\n");
+                                       opkg_message(NOTICE, "\n");
                                        goto next_package;
                                }
                        }
@@ -1121,7 +1121,7 @@ opkg_what_provides_replaces_cmd(enum what_field_type what_field_type, int argc,
                              if (strcmp(target, apkg->name) != 0)
                                   opkg_msg(NOTICE, "\t%s %s\n",
                                                   rel_str, apkg->name);
-                             opkg_msg(NOTICE, "\n");
+                             opkg_message(NOTICE, "\n");
                         }
                    }
               }
index 68c17b3..ec4afba 100644 (file)
@@ -134,7 +134,7 @@ check_conflicts_for(pkg_t *pkg)
          i = 0;
          while (i < conflicts->len)
               opkg_msg(level, "\t%s", conflicts->pkgs[i++]->name);
-         opkg_msg(level, "\n");
+         opkg_message(level, "\n");
          pkg_vec_free(conflicts);
          return -1;
      }