iclone url is one line, strip newline - stagit-gopher - A git gopher frontend. (mirror) Err bitreich.org 70 hgit clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ URL:git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ bitreich.org 70 1Log /scm/stagit-gopher/log.gph bitreich.org 70 1Files /scm/stagit-gopher/files.gph bitreich.org 70 1Refs /scm/stagit-gopher/refs.gph bitreich.org 70 1Tags /scm/stagit-gopher/tag bitreich.org 70 1README /scm/stagit-gopher/file/README.gph bitreich.org 70 1LICENSE /scm/stagit-gopher/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit f373cc7235deaec49d2aa86ecdb55c9dd6dc5282 /scm/stagit-gopher/commit/f373cc7235deaec49d2aa86ecdb55c9dd6dc5282.gph bitreich.org 70 1parent e51ec34dbe4bce95f1677db9a4f32dfbe0ad3432 /scm/stagit-gopher/commit/e51ec34dbe4bce95f1677db9a4f32dfbe0ad3432.gph bitreich.org 70 hAuthor: Hiltjo Posthuma URL:mailto:hiltjo@codemadness.org bitreich.org 70 iDate: Tue, 5 Jan 2016 21:43:14 +0100 Err bitreich.org 70 i Err bitreich.org 70 iclone url is one line, strip newline Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M stagit.c | 1 + Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 1 insertion(+), 0 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/stagit.c b/stagit.c /scm/stagit-gopher/file/stagit.c.gph bitreich.org 70 i@@ -1008,6 +1008,7 @@ main(int argc, char *argv[]) Err bitreich.org 70 i if (fpread) { Err bitreich.org 70 i if (!fgets(cloneurl, sizeof(cloneurl), fpread)) Err bitreich.org 70 i cloneurl[0] = '\0'; Err bitreich.org 70 i+ cloneurl[strcspn(cloneurl, "\n")] = '\0'; Err bitreich.org 70 i fclose(fpread); Err bitreich.org 70 i } Err bitreich.org 70 i Err bitreich.org 70 .