diff options
author | Rob Austein <sra@hactrn.net> | 2006-09-25 19:49:40 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2006-09-25 19:49:40 +0000 |
commit | 19149fae9af3485c41792ebde1d9cea5fb2ec28d (patch) | |
tree | eec4ed57e8fe1fd277c349747cac6752e0639b56 | |
parent | 2f934b7ce31123b39d8191355d034b5d6a3cd3fb (diff) |
Doh, null terminate rsync calls.
svn path=/rcynic/rcynic.c; revision=321
-rw-r--r-- | rcynic/rcynic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rcynic/rcynic.c b/rcynic/rcynic.c index 45104756..46e5bed2 100644 --- a/rcynic/rcynic.c +++ b/rcynic/rcynic.c @@ -846,7 +846,7 @@ static int check_cert(const rcynic_ctx_t *rc, !access(path, R_OK)) return 0; /* Already seen, don't walk it again */ - rsync(rc, uri); + rsync(rc, uri, NULL); assert(certs); @@ -881,7 +881,7 @@ static void walk_cert(const rcynic_ctx_t *rc, certinfo_t *parent, certinfo_t child; DIR *dir = NULL; - rsync(rc, "--recursive", "--delete", parent->sia); + rsync(rc, "--recursive", "--delete", parent->sia, NULL); while (next_uri(rc, parent->sia, rc->unauthenticated, uri, sizeof(uri), &dir)) |