summaryrefslogtreecommitdiffstats
path: root/core/uemis-downloader.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/uemis-downloader.c')
-rw-r--r--core/uemis-downloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/uemis-downloader.c b/core/uemis-downloader.c
index 8909ee381..b327f29e8 100644
--- a/core/uemis-downloader.c
+++ b/core/uemis-downloader.c
@@ -112,7 +112,7 @@ static void uemis_add_string(const char *buffer, char **text, const char *delimi
{
/* do nothing if this is an empty buffer (Uemis sometimes returns a single
* space for empty buffers) */
- if (!buffer || !*buffer || (*buffer == ' ' && *(buffer + 1) == '\0'))
+ if (empty_string(buffer) || (*buffer == ' ' && *(buffer + 1) == '\0'))
return;
if (!*text) {
*text = strdup(buffer);