X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=run-command.c;h=eb2efc33073512efd14b65e67db8cf814ca3fa33;hb=d183663785c0d78f73b31ad43fa57b0742d2a95c;hp=b05c734d05e99cd009a0df26f0fc95fa13ae6f25;hpb=2254da06a5473ffde973337bad2c6a96eea61e20;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); }