Skip to content

Commit c11469b

Browse files
committed
Use newer ODPI-C subscription method
1 parent ffd4a9a commit c11469b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/njsConnection.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2535,8 +2535,8 @@ void njsConnection::Async_Subscribe(njsBaton *baton)
25352535
params.groupingClass = (uint8_t) baton->subscrGroupingClass;
25362536
params.groupingValue = baton->subscrGroupingValue;
25372537
params.groupingType = (uint8_t) baton->subscrGroupingType;
2538-
if (dpiConn_newSubscription(baton->dpiConnHandle, &params,
2539-
&baton->dpiSubscrHandle, NULL) < 0) {
2538+
if (dpiConn_subscribe(baton->dpiConnHandle, &params,
2539+
&baton->dpiSubscrHandle) < 0) {
25402540
baton->GetDPIError();
25412541
return;
25422542
}

0 commit comments

Comments
 (0)