Skip to content

Commit

Permalink
std: fix win32 build error in os::env()
Browse files Browse the repository at this point in the history
  • Loading branch information
olsonjeffery committed Sep 17, 2013
1 parent 3067ee6 commit 5d9932f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/os.rs
Expand Up @@ -196,7 +196,7 @@ pub fn env() -> ~[(~str,~str)] {
if (ch as uint == 0) {
fail!("os::env() failure getting env string from OS: %s", os::last_os_error());
}
result = unsafe { str::raw::from_c_multistring(ch as *libc::c_char, None) };
let result = unsafe { str::raw::from_c_multistring(ch as *libc::c_char, None) };
FreeEnvironmentStringsA(ch);
result
}
Expand Down

0 comments on commit 5d9932f

Please sign in to comment.