Skip to contentSkip to conversation

Fix: UST context activation

PATCH David Goulet 1 participant 1 message Mar 26, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20130326023546.GA7176@Krystal

#1 lore raw

Merged!

Davd

Mathieu Desnoyers:

Quoted 16 lines

---

src/bin/lttng-sessiond/context.c +1 -1
index a83cb46..b55254b 100644
@@ -262,7 +262,7 @@ int context_ust_add(struct ltt_ust_session *usess, int domain,
 	}
 
 	/* Get UST channel if defined */
-	if (channel_name != '\0') {
+	if (channel_name[0] != '\0') {
 		uchan = trace_ust_find_channel_by_name(chan_ht, channel_name);
 		if (uchan == NULL) {
 			ret = LTTNG_ERR_UST_CHAN_NOT_FOUND;