Browse Source

fix a small interface change after merge

Alan Shreve 12 years ago
parent
commit
e4ce075701
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ngrok/client/views/term/view.go

+ 1 - 1
src/ngrok/client/views/term/view.go

@@ -109,7 +109,7 @@ func (v *TermView) draw() {
 		i++
 	}
 	webAddr := fmt.Sprintf("http://localhost:%d", v.ctl.GetWebViewPort())
-	if state.GetWebPort() == -1 {
+	if v.ctl.GetWebViewPort() == -1 {
 		webAddr = "disabled"
 	}
 	v.Printf(0, i+0, "%-30s%s", "Web Interface", webAddr)