Skip to content

Commit

Permalink
make style
Browse files Browse the repository at this point in the history
  • Loading branch information
doegox committed Jan 20, 2013
1 parent ea05559 commit edacadb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libnfc/nfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit edacadb

Please sign in to comment.