Commit 6067bd6f authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor fix to pxelinux strcmp.

parent 74fd53da
/* /*
* Copyright (c) 2000-2015 University of Utah and the Flux Group. * Copyright (c) 2000-2016 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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment