fixed compilation problems

This commit is contained in:
Frank Morgner
2016-11-24 22:10:33 +01:00
parent 3501843159
commit 372c364b02
3 changed files with 33 additions and 30 deletions

View File

@@ -59,7 +59,7 @@ void on_peer_agent_updated(sap_peer_agent_h peer_agent,
static void on_service_connection_terminated(sap_peer_agent_h peer_agent,
sap_socket_h socket,
sap_service_connection_terminated_reason_e result,
sap_service_connection_result_e result,
void *user_data) {
switch (result) {
case SAP_CONNECTION_TERMINATED_REASON_PEER_DISCONNECTED:
@@ -139,10 +139,6 @@ static void on_service_connection_created(sap_peer_agent_h peer_agent,
request_installed_aids();
break;
case SAP_CONNECTION_IN_PROGRESS:
dlog_print(DLOG_INFO, LOG_TAG, "connection is already in progress");
break;
case SAP_CONNECTION_ALREADY_EXIST:
dlog_print(DLOG_INFO, LOG_TAG, "connection already exists");
priv_data.socket = socket;