Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Aug 23, 2016
1 parent c1cf64d commit 39c2d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gammu/gammu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 39c2d31

Please sign in to comment.