[xharness] Rename variable to fix compiler warning. (#308)
Fixes this warning: SimpleHttpListener.cs(12,8): warning CS0108: `xharness.SimpleHttpListener.connected' hides inherited member `xharness.SimpleListener.connected'. Use the new keyword if hiding was intended
This commit is contained in:
Родитель
19cceab4d5
Коммит
fb607bef03
|
@ -9,7 +9,7 @@ namespace xharness
|
|||
public class SimpleHttpListener : SimpleListener
|
||||
{
|
||||
HttpListener server;
|
||||
bool connected;
|
||||
bool connected_once;
|
||||
|
||||
public override void Initialize ()
|
||||
{
|
||||
|
@ -78,8 +78,8 @@ namespace xharness
|
|||
|
||||
switch (request.RawUrl) {
|
||||
case "/Start":
|
||||
if (!connected) {
|
||||
connected = true;
|
||||
if (!connected_once) {
|
||||
connected_once = true;
|
||||
Connected (request.RemoteEndPoint.ToString ());
|
||||
}
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче