summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@kodafritt.se>2015-06-21 12:38:53 (GMT)
committerSamuel Lidén Borell <samuel@kodafritt.se>2015-06-21 12:38:53 (GMT)
commitded0ae803a802876b23520c4ce9ce4ad2070434c (patch)
treea448b060e46bed136c18727629dafec324899c54
parentd8dc08559e39c051edfb47460ba699862be25a51 (diff)
downloadfishlim-ded0ae803a802876b23520c4ce9ce4ad2070434c.zip
fishlim-ded0ae803a802876b23520c4ce9ce4ad2070434c.tar.gz
fishlim-ded0ae803a802876b23520c4ce9ce4ad2070434c.tar.bz2
Fix missing )
-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);