@@ -79,8 +79,10 @@ void on_topic(
7979 if (!memory_node ) {
8080 RMW_SET_ERROR_MSG ("Not available static buffer memory node" );
8181 UXR_UNLOCK (& static_buffer_memory .mutex );
82- if (NULL != memory_error_callback ) {
83- memory_error_callback ("Not available static_buffer_memory for subscription" , ub -> iterator , length );
82+ if (NULL != memory_error_callback ) {
83+ memory_error_callback (
84+ "Not available static_buffer_memory for subscription" , ub -> iterator ,
85+ length );
8486 }
8587 return ;
8688 }
@@ -134,8 +136,10 @@ void on_request(
134136 if (!memory_node ) {
135137 RMW_SET_ERROR_MSG ("Not available static buffer memory node" );
136138 UXR_UNLOCK (& static_buffer_memory .mutex );
137- if (NULL != memory_error_callback ) {
138- memory_error_callback ("Not available static_buffer_memory for request" , ub -> iterator , length );
139+ if (NULL != memory_error_callback ) {
140+ memory_error_callback (
141+ "Not available static_buffer_memory for request" , ub -> iterator ,
142+ length );
139143 }
140144 return ;
141145 }
@@ -191,8 +195,10 @@ void on_reply(
191195 if (!memory_node ) {
192196 RMW_SET_ERROR_MSG ("Not available static buffer memory node" );
193197 UXR_UNLOCK (& static_buffer_memory .mutex );
194- if (NULL != memory_error_callback ) {
195- memory_error_callback ("Not available static_buffer_memory for reply" , ub -> iterator , length );
198+ if (NULL != memory_error_callback ) {
199+ memory_error_callback (
200+ "Not available static_buffer_memory for reply" , ub -> iterator ,
201+ length );
196202 }
197203 return ;
198204 }
0 commit comments