make style

This commit is contained in:
Philippe Teuwen 2013-01-20 15:48:32 +01:00
parent ea05559fa5
commit edacadbce6

View file

@ -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);
}