diff options
author | William Jon McCann <mccann@jhu.edu> | 2006-11-06 00:35:01 -0500 |
---|---|---|
committer | William Jon McCann <mccann@jhu.edu> | 2006-11-06 00:35:01 -0500 |
commit | be02d5de51072235c20d6974f0cccb485055a02e (patch) | |
tree | 5a1c823a64df0c4ac136ad3f3567af63b4605dfb /src/main.c | |
parent | 7e817628550ab4932baf6059b06049944893af7e (diff) |
Show message even when error is NULL. Fix valgrind script.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -99,6 +99,8 @@ main (int argc, if (error != NULL) { g_warning ("Failed to acquire %s: %s", CK_DBUS_NAME, error->message); g_error_free (error); + } else { + g_warning ("Failed to acquire %s", CK_DBUS_NAME); } exit (1); } @@ -107,6 +109,8 @@ main (int argc, if (error != NULL) { g_warning ("Failed to acquire %s: %s", CK_DBUS_NAME, error->message); g_error_free (error); + } else { + g_warning ("Failed to acquire %s", CK_DBUS_NAME); } exit (1); } |