Skip to content

Commit

Permalink
Use newer ODPI-C subscription method
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbj committed Jun 5, 2018
1 parent ffd4a9a commit c11469b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/njsConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2535,8 +2535,8 @@ void njsConnection::Async_Subscribe(njsBaton *baton)
params.groupingClass = (uint8_t) baton->subscrGroupingClass;
params.groupingValue = baton->subscrGroupingValue;
params.groupingType = (uint8_t) baton->subscrGroupingType;
if (dpiConn_newSubscription(baton->dpiConnHandle, &params,
&baton->dpiSubscrHandle, NULL) < 0) {
if (dpiConn_subscribe(baton->dpiConnHandle, &params,
&baton->dpiSubscrHandle) < 0) {
baton->GetDPIError();
return;
}
Expand Down

0 comments on commit c11469b

Please sign in to comment.