Skip to content

Commit af33862

Browse files
committed
Remove a hack for a bug that was fixed a long time ago.
1 parent 9c535d5 commit af33862

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

postgres.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -222,14 +222,6 @@ exports.Connection = function (database, username, password, port) {
222222
});
223223
connection.addListener("receive", function (data) {
224224

225-
// Hack to work around bug in node
226-
// TODO: remove once Ry fixes bug
227-
for (var i = 0, l = data.length; i < l; i += 1) {
228-
if (data[i] < 0) {
229-
data[i] += 256;
230-
}
231-
}
232-
233225
if (exports.DEBUG > 2) {
234226
sys.debug("<-" + JSON.stringify(data));
235227
}

0 commit comments

Comments
 (0)