X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Flib%2Fcrt%2Fmisc%2Fenviron.c;h=02f8345576915780e51240113ab6dc6802a2451f;hp=07b36fb035b0d11c9f3c08a621255c35a6c42c3f;hb=565f110df2a0e764f531d8974bd83c030f49d691;hpb=1b17f93d3a6b8cea4e6d51baac033abdbae2826d diff --git a/reactos/lib/crt/misc/environ.c b/reactos/lib/crt/misc/environ.c index 07b36fb035b..02f83455769 100644 --- a/reactos/lib/crt/misc/environ.c +++ b/reactos/lib/crt/misc/environ.c @@ -259,7 +259,7 @@ int SetEnv(const wchar_t *option) if (!found) { free(name); - return -1; + return 0; } /* Remove the option from wide character environment. */