X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=run-command.c;h=eb2efc33073512efd14b65e67db8cf814ca3fa33;hb=003b33a8;hp=b05c734d05e99cd009a0df26f0fc95fa13ae6f25;hpb=85b7bd50c47e0f5236cdb93d1be3163a8a1a3be6;p=git.git diff --git a/run-command.c b/run-command.c index b05c734d0..eb2efc330 100644 --- a/run-command.c +++ b/run-command.c @@ -106,7 +106,7 @@ int start_command(struct child_process *cmd) if (cmd->env) { for (; *cmd->env; cmd->env++) { if (strchr(*cmd->env, '=')) - putenv((char*)*cmd->env); + putenv((char *)*cmd->env); else unsetenv(*cmd->env); }