summaryrefslogtreecommitdiff
path: root/keystore.c
diff options
context:
space:
mode:
Diffstat (limited to 'keystore.c')
-rw-r--r--keystore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystore.c b/keystore.c
index 44393a0..3d0d7c8 100644
--- a/keystore.c
+++ b/keystore.c
@@ -95,7 +95,7 @@ char *keystore_get_key(const char *nick, bool *is_cbc) {
if (is_cbc) {
// All values except 0 means "use CBC".
// Mircryption parses "N" and "n" as false also.
- *is_cbc = (cbcval && *cbcval && strcmp(cbcval, "0");
+ *is_cbc = (cbcval && *cbcval && strcmp(cbcval, "0"));
}
g_free(cbcval);
g_key_file_free(keyfile);