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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user