summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netboot.c b/netboot.c
index f884cba2..ad5d37e9 100644
--- a/netboot.c
+++ b/netboot.c
@@ -234,7 +234,7 @@ static BOOLEAN extract_tftp_info(CHAR8 *url)
return FALSE;
}
}
- if (end == '\0') {
+ if (*end == '\0') {
Print(L"TFTP SERVER MUST BE ENCLOSED IN [..]\n");
return FALSE;
}