Skip to content

Commit

Permalink
Fixed a small bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhelmold committed Sep 16, 2024
1 parent a7b7182 commit 9e5b689
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions util/versionutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ cmp_versions (const char *version1, const char *version2)
ver1 = prepare_version_string (version1);
ver2 = prepare_version_string (version2);

if (ver1 == NULL || ver2 != NULL)
if (ver1 == NULL || ver2 == NULL)
{
g_free (ver1);
g_free (ver2);
Expand Down Expand Up @@ -180,8 +180,6 @@ prepare_version_string (const char *version)
int index_v, index_pv;
gboolean is_digit;

g_message ("PROTO: VERS %s", version);

if (!version)
return (NULL);

Expand Down

0 comments on commit 9e5b689

Please sign in to comment.