about summary refs log tree commit diff stats
path: root/src/tools
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-05-04 22:57:49 +0100
committerJames Booth <boothj5@gmail.com>2015-05-04 22:57:49 +0100
commit09e1e7618e08a406dae31e55fddbd30975b4b354 (patch)
tree47183ce7883691ea0c4177f400c99b1b2033ff86 /src/tools
parentfe216b4e9777abe658c6a24e5c5faf5247e4b74d (diff)
downloadprofani-tty-09e1e7618e08a406dae31e55fddbd30975b4b354.tar.gz
Use null check convention in tinyurl.c
Diffstat (limited to 'src/tools')
-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 {