From 90228fc151bac5f19b2d21c18d51ef90f3b0d1b5 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sun, 6 Jan 2013 18:18:10 +0200 Subject: [PATCH] input: Fix coding style --- profiles/input/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/input/device.c b/profiles/input/device.c index 6bcc6a510..759603ac8 100644 --- a/profiles/input/device.c +++ b/profiles/input/device.c @@ -210,7 +210,7 @@ static void extract_hid_record(sdp_record_t *rec, struct hidp_connadd_req *req) pdlist = sdp_data_get(rec, SDP_ATTR_SVCDESC_PRIMARY); pdlist2 = sdp_data_get(rec, SDP_ATTR_PROVNAME_PRIMARY); if (pdlist && pdlist2 && - strncmp(pdlist->val.str, pdlist2->val.str, 5)) { + strncmp(pdlist->val.str, pdlist2->val.str, 5) != 0) { snprintf(req->name, sizeof(req->name), "%s %s", pdlist2->val.str, pdlist->val.str); } else { -- 2.47.3