Fix: wrong loop continuation in metadata thread
[lttng-tools.git] / src / common / consumer.c
index 27dfe32b8592487e6c5e881604a650085240f536..935a03d235fee67a32f1f6bd14fa7c9bdf65845d 100644 (file)
@@ -2155,7 +2155,7 @@ restart:
                                        if (stream == NULL) {
                                                /* Check for deleted streams. */
                                                validate_endpoint_status_metadata_stream(&events);
                                        if (stream == NULL) {
                                                /* Check for deleted streams. */
                                                validate_endpoint_status_metadata_stream(&events);
-                                               continue;
+                                               goto restart;
                                        }
 
                                        DBG("Adding metadata stream %d to poll set",
                                        }
 
                                        DBG("Adding metadata stream %d to poll set",
This page took 0.023307 seconds and 4 git commands to generate.