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
6067bd6f
Commit
6067bd6f
authored
Oct 20, 2016
by
Leigh B Stoller
Browse files
Minor fix to pxelinux strcmp.
parent
74fd53da
Changes
1
Hide whitespace changes
Inline
Side-by-side
pxe/bootinfo_mysql.c
View file @
6067bd6f
/*
/*
* Copyright (c) 2000-201
5
University of Utah and the Flux Group.
* Copyright (c) 2000-201
6
University of Utah and the Flux Group.
*
*
* {{{EMULAB-LICENSE
* {{{EMULAB-LICENSE
*
*
...
@@ -83,8 +83,8 @@ findnode_bootinfo_db(struct in_addr ipaddr, int *events)
...
@@ -83,8 +83,8 @@ findnode_bootinfo_db(struct in_addr ipaddr, int *events)
}
}
row
=
mysql_fetch_row
(
res
);
row
=
mysql_fetch_row
(
res
);
if
((
row
[
0
]
&&
strcmp
(
row
[
0
],
"pxelinux"
)
==
0
)
||
if
((
row
[
1
]
&&
strcmp
(
row
[
1
],
"pxelinux"
)
==
0
)
||
(
row
[
1
]
&&
strcmp
(
row
[
1
],
"pxelinux"
)
==
0
))
(
row
[
2
]
&&
strcmp
(
row
[
2
],
"pxelinux"
)
==
0
))
*
events
=
0
;
*
events
=
0
;
else
else
*
events
=
1
;
*
events
=
1
;
...
...
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