Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
243921d5
Commit
243921d5
authored
Jun 19, 2003
by
Mac Newbold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a couple of minor glitches.
parent
97483077
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
event/stated/StateWait.pm
event/stated/StateWait.pm
+3
-4
No files found.
event/stated/StateWait.pm
View file @
243921d5
...
...
@@ -85,8 +85,8 @@ sub initStateWait( $@ ) {
$tuple
=
address_tuple_alloc
();
if
(
!
$tuple
)
{
die
"
Could not allocate an address tuple
\n
";
}
%$tuple
=
(
objtype
=>
TBDB_TBEVENT_NODESTATE
#
,
eventtype
=>
join
("
,
",
@$states
),
%$tuple
=
(
objtype
=>
TBDB_TBEVENT_NODESTATE
,
eventtype
=>
join
("
,
",
@$states
),
objname
=>
join
("
,
",
@nodes
)
);
if
(
$debug
>
1
)
{
...
...
@@ -126,7 +126,7 @@ sub doEvent( $$$ ) {
"
$eventtype
\n
";
}
my
$n
=
$objname
;
if
(
@
{
$remain
{
$n
}}[
0
]
eq
$eventtype
)
{
if
(
defined
(
$remain
{
$n
})
&&
@
{
$remain
{
$n
}}[
0
]
eq
$eventtype
)
{
# this is the next state we were waiting for
if
(
$debug
)
{
print
"
Got
$eventtype
for
$n
\n
"
};
shift
(
@
{
$remain
{
$n
}});
...
...
@@ -137,7 +137,6 @@ sub doEvent( $$$ ) {
delete
(
$remain
{
$n
});
}
}
#exit(0);
}
sub
waitForState
( $$;$ ) {
...
...
Write
Preview
Markdown
is supported
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