mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 16:46:22 +00:00
Use null check convention in tinyurl.c
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user