Skip to content

Commit db6b7d1

Browse files
authored
Damn you WIN32
1 parent 7c79076 commit db6b7d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/httpserver_extension.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static void SetEnvValue(DataChunk &args, ExpressionState &state, Vector &result,
6666
throw std::invalid_argument(value_type + " cannot be empty.");
6767
}
6868
#ifdef _WIN32
69-
_putenv_s(name.c_str(), value.GetString().c_str());
69+
_putenv_s(name.GetString().c_str(), value.GetString().c_str());
7070
#else
7171
setenv(var_name.c_str(), value.GetString().c_str(), true);
7272
#endif

0 commit comments

Comments
 (0)