diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-11-03 13:59:20 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-03 13:59:20 -0600 |
commit | 493fd52f1ada36bfe63301d4bb50f7fd2b38c670 (patch) | |
tree | 19864f5568a2fe48181c1b3f33c46b4db36dd768 /src/journal-remote/journal-upload.c | |
parent | a1e2ef7ec912902d8142e7cb5830cbfb47dba86c (diff) | |
parent | 9aa2169eaeb20994fb2b0196c051cff52f57a93d (diff) |
Merge pull request #4510 from keszybz/tree-wide-cleanups
Tree wide cleanups
Diffstat (limited to 'src/journal-remote/journal-upload.c')
-rw-r--r-- | src/journal-remote/journal-upload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal-remote/journal-upload.c b/src/journal-remote/journal-upload.c index 61190ff83c..42880cca76 100644 --- a/src/journal-remote/journal-upload.c +++ b/src/journal-remote/journal-upload.c @@ -438,7 +438,7 @@ static int setup_uploader(Uploader *u, const char *url, const char *state_file) } if (strchr(host, ':')) - u->url = strjoin(proto, url, "/upload", NULL); + u->url = strjoin(proto, url, "/upload"); else { char *t; size_t x; @@ -448,7 +448,7 @@ static int setup_uploader(Uploader *u, const char *url, const char *state_file) while (x > 0 && t[x - 1] == '/') t[x - 1] = '\0'; - u->url = strjoin(proto, t, ":" STRINGIFY(DEFAULT_PORT), "/upload", NULL); + u->url = strjoin(proto, t, ":" STRINGIFY(DEFAULT_PORT), "/upload"); } if (!u->url) return log_oom(); |