From 5774e9fa5357ca0ea3661668b44f1bc23ba83b89 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 23 Nov 2010 03:08:56 -0600 Subject: [PATCH] stk: Minor style fix --- src/stk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stk.c b/src/stk.c index 222d4ba3..ac2e6468 100644 --- a/src/stk.c +++ b/src/stk.c @@ -303,7 +303,7 @@ static char *dbus_apply_text_attributes(const char *text, const uint8_t *j = attr->attributes; const uint8_t *end = j + attr->len; - if (!text) + if (text == NULL) return NULL; if (attr->len & 3)