GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Add missing return statement.

parent f8fb020a
......@@ -201,7 +201,7 @@ func makeControlConnection(domainSocket string) (*bulb.Conn, error) {
func bootstrapTorOverBridge(bridgeLine string) error {
if cacheEntry := cache.IsCached(bridgeLine); cacheEntry != nil {
if cacheEntry.Error != "" {
fmt.Errorf(cacheEntry.Error)
return fmt.Errorf(cacheEntry.Error)
} else {
return nil
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment