rule out segfault. so far, so good.
This commit is contained in:
parent
c2041a05ce
commit
7eea05c71d
|
@ -3517,6 +3517,7 @@ NAN_METHOD(HookPackets) {
|
||||||
}
|
}
|
||||||
|
|
||||||
o->Set(NanNew<String>("addresses"), array);
|
o->Set(NanNew<String>("addresses"), array);
|
||||||
|
#if 0
|
||||||
} else if (strCommand == "inv") {
|
} else if (strCommand == "inv") {
|
||||||
vector<CInv> vInv;
|
vector<CInv> vInv;
|
||||||
*cur->vRecv >> vInv;
|
*cur->vRecv >> vInv;
|
||||||
|
@ -3803,6 +3804,7 @@ NAN_METHOD(HookPackets) {
|
||||||
; // nothing much to grab from this packet
|
; // nothing much to grab from this packet
|
||||||
} else if (strCommand == "reject") {
|
} else if (strCommand == "reject") {
|
||||||
; // nothing much to grab from this packet
|
; // nothing much to grab from this packet
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
o->Set(NanNew<String>("unknown"), NanNew<Boolean>(true));
|
o->Set(NanNew<String>("unknown"), NanNew<Boolean>(true));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue