xstring usage: prefer fputs over fprintf where possible
modified libpkg/fetch_libfetch.c
@@ -97,7 +97,7 @@ fetch_connect(struct pkg_repo *repo, struct url *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -160,19 +160,20 @@ fetch_connect(struct pkg_repo *repo, struct url *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -180,11 +181,10 @@ fetch_connect(struct pkg_repo *repo, struct url *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
|
|
|
|
|
modified libpkg/fetch_ssh.c
@@ -57,6 +57,7 @@ ssh_connect(struct pkg_repo *repo, struct url *u)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -83,26 +84,25 @@ ssh_connect(struct pkg_repo *repo, struct url *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/lua_scripts.c
@@ -60,11 +60,12 @@ stack_dump(lua_State *L)
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -84,9 +85,9 @@ stack_dump(lua_State *L)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/packing.c
@@ -270,7 +270,7 @@ packing_append_tree(struct packing *pack, const char *treepath,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -278,8 +278,8 @@ packing_append_tree(struct packing *pack, const char *treepath,
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -292,9 +292,9 @@ packing_append_tree(struct packing *pack, const char *treepath,
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_audit.c
@@ -535,7 +535,7 @@ static void
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -558,7 +558,7 @@ vulnxml_handle_data(struct vulnxml_userdata *ud, yxml_t *xml)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_event.c
@@ -45,8 +45,8 @@ buf_json_escape(const char *str)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -162,8 +162,8 @@ pipeevent(struct pkg_event *ev)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -186,7 +186,7 @@ pipeevent(struct pkg_event *ev)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -259,7 +259,7 @@ pipeevent(struct pkg_event *ev)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -287,12 +287,12 @@ pipeevent(struct pkg_event *ev)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -371,8 +371,8 @@ pipeevent(struct pkg_event *ev)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/plugins.c
@@ -151,7 +151,7 @@ pkg_plugin_set(struct pkg_plugin *p, pkg_plugin_key key, const char *str)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|