mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
Tidy up
This commit is contained in:
parent
669826a866
commit
430f1079fc
@ -130,8 +130,8 @@ var parseByteA = function(val) {
|
||||
out += val[i]
|
||||
++i
|
||||
}else{
|
||||
if(val.substring(i+1, i+4).match(/([0-7]){3}/)){
|
||||
out += String.fromCharCode(parseInt(val.substring(i+1,i+4),8))
|
||||
if(val.substr(i+1,3).match(/[0-7]{3}/)){
|
||||
out += String.fromCharCode(parseInt(val.substr(i+1,3),8))
|
||||
i += 4
|
||||
}else{
|
||||
backslashes = 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user