gisi: call to non existent function

This commit is contained in:
Rémi Denis-Courmont 2009-07-06 10:19:09 +03:00 committed by Aki Niemi
parent 073261e507
commit a8138acce5
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ ssize_t phonet_read(GIOChannel *channel, void *restrict buf, size_t len,
return -1;
if (obj != NULL)
*obj = pn_sockaddr_get_object(&addr);
*obj = (addr.spn_dev << 8) | addr.spn_obj;
if (res != NULL)
*res = addr.spn_resource;
return ret;