diff --git a/examples/cloud_discovery_service/library_api/c/cloud_discovery_service_library_api.c b/examples/cloud_discovery_service/library_api/c/cloud_discovery_service_library_api.c index 967ad582a..a4edfbb11 100644 --- a/examples/cloud_discovery_service/library_api/c/cloud_discovery_service_library_api.c +++ b/examples/cloud_discovery_service/library_api/c/cloud_discovery_service_library_api.c @@ -59,7 +59,7 @@ int service_main(const char *cfgName, const char *cfgFile, int runForSecs) property.dds_verbosity = RTI_CDS_LOG_VERBOSITY_EXCEPTIONS; - service = RTI_CDS_Service_new(&property); + service = RTI_CDS_Service_new(&property, NULL); if (service == NULL) { printf("Error creating the Cloud Discovery Service instance\n"); service_shutdown(service, &property);