diff options
Diffstat (limited to 'libextra/opencdk/misc.c')
-rw-r--r-- | libextra/opencdk/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libextra/opencdk/misc.c b/libextra/opencdk/misc.c index be6b6b68d0..eb047f054e 100644 --- a/libextra/opencdk/misc.c +++ b/libextra/opencdk/misc.c @@ -511,7 +511,7 @@ _cdk_check_args (int overwrite, const char *in, const char *out) if (!in || !out) return CDK_Inv_Value; - if (strlen (in) == strlen (out) && strcmp (in, out)) + if (strlen (in) == strlen (out) && strcmp (in, out) == 0) return CDK_Inv_Mode; if (!overwrite && !stat (out, &stbuf)) return CDK_Inv_Mode; |