Created
September 5, 2011 05:04
-
-
Save isaacs/1194133 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/node_file.cc b/src/node_file.cc | |
index 0b8e69d..1fcf373 100644 | |
--- a/src/node_file.cc | |
+++ b/src/node_file.cc | |
@@ -441,7 +441,7 @@ static Handle<Value> ReadLink(const Arguments& args) { | |
ASYNC_CALL(readlink, args[1], *path) | |
} else { | |
SYNC_CALL(readlink, *path, *path) | |
- return scope.Close(String::New((char*)SYNC_REQ.ptr, SYNC_REQ.result)); | |
+ return scope.Close(String::New((char*)SYNC_REQ.ptr)); | |
} | |
} | |
#endif // __POSIX__ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment