Skip to content

Commit 10a2093

Browse files
committed
Failure to re-stage changes strikes again.
1 parent 0f23bba commit 10a2093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/GenericOS.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
fn getenv(str n) -> Option.t[str] {
22
auto s = OS.libc.getenv(Str.buf(n));
3-
if (s == 0 as Str.sbuf) {
3+
if ((s as int) == 0) {
44
ret Option.none[str];
55
} else {
66
ret Option.some[str](Str.str_from_cstr(s));

0 commit comments

Comments
 (0)