Browse Source

Fix: compile error; comment typo

Rod Hynes 8 years ago
parent
commit
17809d8ef7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      ConsoleClient/main.go
  2. 1 1
      psiphon/controller.go

+ 1 - 1
ConsoleClient/main.go

@@ -151,7 +151,7 @@ func main() {
 		noticeWriter = psiphon.NewNoticeConsoleRewriter(noticeWriter)
 	}
 	psiphon.SetNoticeWriter(noticeWriter)
-	err = psiphon.SetNoticeFiles(
+	err := psiphon.SetNoticeFiles(
 		homepageFilename,
 		rotatingFilename,
 		rotatingFileSize,

+ 1 - 1
psiphon/controller.go

@@ -645,7 +645,7 @@ loop:
 				// This is most likely to occur with TunnelPoolSize > 0. We log the
 				// event but take no action. Discarding the tunnel would break the
 				// impaired logic unless we did that (a) only if there are other
-				// unimpaired protocols; (b) only during the first interation of the
+				// unimpaired protocols; (b) only during the first iteration of the
 				// ESTABLISH_TUNNEL_WORK_TIME loop. By not discarding here, a true
 				// impaired protocol may require an extra reconnect.