tPrint a status message after plumbing an item - sacc - simple console gopher client
(HTM) git clone git://src.adamsgaard.dk/sacc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 9f28e4b1417e9623801170c697cc00435eb1b9b0
(DIR) parent 5cef355a572cbf96818f75ebb5ad31be19bffb02
(HTM) Author: Quentin Rameau <quinq@fifth.space>
Date: Tue, 26 Sep 2017 17:14:13 +0200
Print a status message after plumbing an item
This lets the user be sure everything went fine, and helps keeping local
files in cache while the plumber is loading them.
Diffstat:
M sacc.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/sacc.c b/sacc.c
t@@ -480,6 +480,8 @@ plumb(char *url)
if (execlp(plumber, plumber, url, NULL) < 0)
uistatus("execlp: plumb(%s): %s", url, strerror(errno));
}
+
+ uistatus("Plumbed \"%s\"", url);
}
static void