aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/tinyurl.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-05-04 23:40:58 +0100
committerJames Booth <boothj5@gmail.com>2015-05-04 23:40:58 +0100
commit3fd9692aecf190d079b119f66e046c8ed9013031 (patch)
treef2688404a0b898365d1e9e26f4c8f1335ca134b8 /src/tools/tinyurl.c
parent176fba84a04d8c0864b57feb848cccfe5c4814e3 (diff)
parent6f3750c6aa1ba72378ac004e6abceb19ed1ddecb (diff)
downloadprofani-tty-3fd9692aecf190d079b119f66e046c8ed9013031.tar.gz
Merge branch 'master' into pgp
Diffstat (limited to 'src/tools/tinyurl.c')
-rw-r--r--src/tools/tinyurl.c2
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 {