1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-03 13:19:04 +00:00

Fix coding style in my code.

This commit is contained in:
d33tah
2013-08-13 19:54:09 +00:00
parent 61f6696ae3
commit c46f8f0ca4
2 changed files with 3 additions and 3 deletions

View File

@@ -233,7 +233,7 @@ int setenv_portable(const char *name, const char *value)
int ret;
size_t len;
len = strlen(name) + strlen(value) + 2; /* 1 for '\0', 1 for =. */
var = (char*)safe_malloc(len);
var = (char *) safe_malloc(len);
Snprintf(var, len, "%s=%s", name, value);
/* _putenv was chosen over SetEnvironmentVariable because variables set
with the latter seem to be invisible to getenv() calls and Lua uses