From 6e00c47d3d520457ccfcdea74e102798806c60f9 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Mon, 15 Mar 2021 16:11:35 +0100 Subject: [PATCH] Revert "Use the desciptors typename as the topic name" This reverts commit 1f3d9c089a078ed4851e3a3f08401246bcd8016d. --- src/Network/native_ctrls.cxx | 2 +- src/Network/native_fdm.cxx | 2 +- src/Network/native_gui.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Network/native_ctrls.cxx b/src/Network/native_ctrls.cxx index f32c8074f..abceafe5c 100644 --- a/src/Network/native_ctrls.cxx +++ b/src/Network/native_ctrls.cxx @@ -699,7 +699,7 @@ bool FGNativeCtrls::open() { #if FG_HAVE_DDS if ( io->get_type() == sgDDSType ) { SG_DDS *dds = static_cast(io); - dds->setup(&FG_DDS_Ctrls_desc, sizeof (FG_DDS_Ctrls)); + dds->setup("FG_DDS_Ctrls" , &FG_DDS_Ctrls_desc, sizeof (FG_DDS_Ctrls)); } #endif diff --git a/src/Network/native_fdm.cxx b/src/Network/native_fdm.cxx index 634f60081..17200abdf 100644 --- a/src/Network/native_fdm.cxx +++ b/src/Network/native_fdm.cxx @@ -739,7 +739,7 @@ bool FGNativeFDM::open() { #if FG_HAVE_DDS if ( io->get_type() == sgDDSType ) { SG_DDS *dds = static_cast(io); - dds->setup(&FG_DDS_FDM_desc, sizeof (FG_DDS_FDM)); + dds->setup("FG_DDS_FDM" , &FG_DDS_FDM_desc, sizeof (FG_DDS_FDM)); } #endif diff --git a/src/Network/native_gui.cxx b/src/Network/native_gui.cxx index 89bd25ce0..d4ce46b95 100644 --- a/src/Network/native_gui.cxx +++ b/src/Network/native_gui.cxx @@ -474,7 +474,7 @@ bool FGNativeGUI::open() { #if FG_HAVE_DDS if ( io->get_type() == sgDDSType ) { SG_DDS *dds = static_cast(io); - dds->setup(&FG_DDS_GUI_desc, sizeof (FG_DDS_GUI)); + dds->setup("FG_DDS_GUI" , &FG_DDS_GUI_desc, sizeof (FG_DDS_GUI)); } #endif