diff --git a/libnfc/nfc.c b/libnfc/nfc.c index 313ceab4..82e1ea7b 100644 --- a/libnfc/nfc.c +++ b/libnfc/nfc.c @@ -251,7 +251,7 @@ nfc_list_devices(nfc_context *context, nfc_connstring connstrings[], const size_ char *old_env_log_level = NULL; // do it silently if (env_log_level) { - if ((old_env_log_level = malloc(strlen(env_log_level)+1)) == NULL) + if ((old_env_log_level = malloc(strlen(env_log_level) + 1)) == NULL) exit(EXIT_FAILURE); strcpy(old_env_log_level, env_log_level); }