daemon: improve log messages and add TODO comments

This commit is contained in:
Nedko Arnaudov 2010-04-04 21:30:25 +03:00
parent de772730a5
commit 9f3f884c4d
2 changed files with 4 additions and 2 deletions

View File

@ -452,7 +452,7 @@ static void connect_ports_by_id(struct dbus_method_call * call_ptr)
if (graph_ptr->connect_handler == NULL)
{
lash_dbus_error(call_ptr, LASH_DBUS_ERROR_GENERIC, "connect requests on this graph cannot be handlined");
lash_dbus_error(call_ptr, LASH_DBUS_ERROR_GENERIC, "connect requests on graph %s cannot be handlined", graph_ptr->opath != NULL ? graph_ptr->opath : "JACK");
return;
}
@ -528,7 +528,7 @@ static void disconnect_ports_by_id(struct dbus_method_call * call_ptr)
if (graph_ptr->disconnect_handler == NULL)
{
lash_dbus_error(call_ptr, LASH_DBUS_ERROR_GENERIC, "disconnect requests on this graph cannot be handlined");
lash_dbus_error(call_ptr, LASH_DBUS_ERROR_GENERIC, "disconnect requests on graph %s cannot be handlined", graph_ptr->opath != NULL ? graph_ptr->opath : "JACK");
return;
}

View File

@ -666,6 +666,7 @@ static bool ports_connect_request(void * context, ladish_graph_handle graph_hand
if (port1_id == 0 || port2_id == 0)
{
/* TODO */
log_error("connecting room-studio link ports is not implemented yet");
return false;
}
@ -694,6 +695,7 @@ static bool ports_disconnect_request(void * context, ladish_graph_handle graph_h
if (port1_id == 0 || port2_id == 0)
{
/* TODO */
log_error("disconnecting room-studio link ports is not implemented yet");
return false;
}