From 39c2d31e81d53dfaab566c07710af140f4ffb950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 23 Aug 2016 09:05:40 +0200 Subject: [PATCH] Fix condition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- gammu/gammu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gammu/gammu.c b/gammu/gammu.c index 4d234f2a40..db45065f1e 100644 --- a/gammu/gammu.c +++ b/gammu/gammu.c @@ -1241,7 +1241,7 @@ int main(int argc, char *argv[]) } /* Check used version vs. compiled */ - if (!strcasecmp(GetGammuVersion(), GAMMU_VERSION) == 0) { + if (strcasecmp(GetGammuVersion(), GAMMU_VERSION) != 0) { printf_err(_("Version of installed libGammu.so (%s) is different to version of Gammu (%s)\n"), GetGammuVersion(), GAMMU_VERSION); Terminate(98);