Skip to content
GitLab
Menu
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
e0398fd9
Commit
e0398fd9
authored
Dec 09, 2002
by
Leigh B. Stoller
Browse files
Minor fix to last revision.
parent
54eb8c17
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/tmcd.c
View file @
e0398fd9
...
...
@@ -1386,16 +1386,17 @@ COMMAND_PROTOTYPE(doaccounts)
res
=
mydb_query
(
"select distinct "
"u.uid,'*',u.unix_uid,u.usr_name, "
"w.trust,'guest','guest',31,u.admin, "
"u.emulab_pubkey,u.home_pubkey, "
"UNIX_TIMESTAMP(u.usr_modified) "
"from widearea_accounts as w "
"left join users as u on u.uid=w.uid "
"where w.trust!='none' and "
" u.status='active' and node_id='%s' "
"order by u.uid"
,
1
0
,
nodeid
);
1
2
,
nodeid
);
if
(
res
)
{
if
(
mysql_num_rows
(
res
))
if
(
(
nrows
=
mysql_num_rows
(
res
))
)
goto
again
;
else
mysql_free_result
(
res
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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