diff options
| author | James Booth <boothj5@gmail.com> | 2015-05-04 23:40:58 +0100 |
|---|---|---|
| committer | James Booth <boothj5@gmail.com> | 2015-05-04 23:40:58 +0100 |
| commit | 3fd9692aecf190d079b119f66e046c8ed9013031 (patch) | |
| tree | f2688404a0b898365d1e9e26f4c8f1335ca134b8 /src/tools/tinyurl.c | |
| parent | 176fba84a04d8c0864b57feb848cccfe5c4814e3 (diff) | |
| parent | 6f3750c6aa1ba72378ac004e6abceb19ed1ddecb (diff) | |
| download | profani-tty-3fd9692aecf190d079b119f66e046c8ed9013031.tar.gz | |
Merge branch 'master' into pgp
Diffstat (limited to 'src/tools/tinyurl.c')
| -rw-r--r-- | src/tools/tinyurl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tinyurl.c b/src/tools/tinyurl.c index 34e8967a..92ff97b8 100644 --- a/src/tools/tinyurl.c +++ b/src/tools/tinyurl.c @@ -74,7 +74,7 @@ tinyurl_get(char *url) g_string_free(full_url, TRUE); - if (output.buffer != NULL) { + if (output.buffer) { output.buffer[output.size++] = '\0'; return output.buffer; } else { |