interrogate is fixed now

This commit is contained in:
David Rose 2004-09-15 18:38:09 +00:00
parent a4bad0eb36
commit 3343d168e1

View File

@ -142,9 +142,7 @@ check_datagram() {
// structure, to support legacy code that expects to find it // structure, to support legacy code that expects to find it
// there. // there.
if (_python_repository != (PyObject *)NULL) { if (_python_repository != (PyObject *)NULL) {
// Dave Needs to fix interage.. PyObject *value = PyLong_FromUnsignedLongLong(_msg_sender);
PyObject *value = PyInt_FromLong(_msg_sender);
// PyObject *value = PyLong_FromUnsignedLongLong(_msg_sender);
PyObject_SetAttrString(_python_repository, "msgSender", value); PyObject_SetAttrString(_python_repository, "msgSender", value);
Py_DECREF(value); Py_DECREF(value);
} }