Help with a Web Server Logic error

What magical trick is going to change the content of currentLine as you enter this while ?