Print a status message after plumbing an item - sacc - sacc(omys), simple console gopher client
git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
Log
Files
Refs
Tags
LICENSE
---
commit 9f28e4b1417e9623801170c697cc00435eb1b9b0
parent 5cef355a572cbf96818f75ebb5ad31be19bffb02
Author: Quentin Rameau 
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(-)
---
diff --git a/sacc.c b/sacc.c
@@ -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