fix debug printing of peer address and port for tcp sockets

This commit is contained in:
Jamie Forth 2015-07-07 17:16:54 +01:00
parent 95e8643778
commit 0e4509bc75
2 changed files with 4 additions and 3 deletions

View file

@ -78,7 +78,8 @@
(decode-bundle buffer length)
(when (debug-mode receiver)
(print-osc-debug-msg receiver message length
address port timetag))
(peer-address receiver)
(peer-port receiver) timetag))
(dispatch (address-tree receiver) message receiver
address port timetag))))
(osc-device-cleanup receiver)))

View file

@ -12,8 +12,8 @@
(multiple-value-bind (message timetag)
(osc:decode-bundle buffer length)
(when (debug-mode receiver)
(print-osc-debug-msg receiver message length
address port timetag))
(print-osc-debug-msg receiver message length address
port timetag))
(osc:dispatch (address-tree receiver) message
receiver address port timetag))))
(osc-device-cleanup receiver)))