projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b97ec6
)
Fix bug when finding session by name
author
David Goulet
<david.goulet@polymtl.ca>
Tue, 3 May 2011 20:46:05 +0000
(16:46 -0400)
committer
David Goulet
<david.goulet@polymtl.ca>
Tue, 3 May 2011 20:46:05 +0000
(16:46 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/session.c
patch
|
blob
|
blame
|
history
diff --git
a/ltt-sessiond/session.c
b/ltt-sessiond/session.c
index 54e19669efd9e78c48578b0207d660f2146cbce4..6e19b372e4c2edeb4b60c5b32dc906cbaa41b8a9 100644
(file)
--- a/
ltt-sessiond/session.c
+++ b/
ltt-sessiond/session.c
@@
-113,7
+113,7
@@
struct ltt_session *find_session_by_name(char *name)
struct ltt_session *iter;
cds_list_for_each_entry(iter, <t_session_list.head, list) {
- if (strncmp(iter->name, name, strlen(
iter->
name)) == 0) {
+ if (strncmp(iter->name, name, strlen(name)) == 0) {
found = 1;
break;
}
This page took
0.025513 seconds
and
4
git commands to generate.