Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
b335da6e
Commit
b335da6e
authored
Feb 16, 2012
by
Leigh B Stoller
Browse files
Do not use elabinelab_notsetup, use CONFIG_NOSETUP instead.
parent
53eccbbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/tmcd.c
View file @
b335da6e
...
...
@@ -8175,10 +8175,10 @@ COMMAND_PROTOTYPE(doemulabconfig)
/*
* Stuff from the experiments table.
*/
res
=
mydb_query
(
"select elabinelab_cvstag
,elabinelab_nosetup
"
res
=
mydb_query
(
"select elabinelab_cvstag "
" from experiments "
"where pid='%s' and eid='%s'"
,
2
,
reqp
->
pid
,
reqp
->
eid
);
1
,
reqp
->
pid
,
reqp
->
eid
);
if
(
!
res
)
{
error
(
"EMULABCONFIG: %s: DB Error getting experiments info
\n
"
,
reqp
->
nodeid
);
...
...
@@ -8191,9 +8191,6 @@ COMMAND_PROTOTYPE(doemulabconfig)
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"CVSSRCTAG=%s
\n
"
,
row
[
0
]);
}
if
(
row
[
1
]
&&
strcmp
(
row
[
1
],
"0"
))
{
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"NOSETUP=1
\n
"
);
}
}
mysql_free_result
(
res
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment