Skip to content

Commit

Permalink
run gofix
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafah committed Dec 10, 2011
1 parent 89967bc commit 5972b03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.go
@@ -1,12 +1,12 @@
package main

import (
"fmt"
"flag"
"fmt"
"html"
"http"
"net"
"io"
"net"
"net/http"
"os"
"strings"
)
Expand All @@ -18,7 +18,7 @@ var (
// socksDial performs as a replacement of the default net.Dial function. It
// is capable of transfering the connection through a SOCKS5 proxy, defined
// by socksAddr.
func socksDial(network, addr string) (net.Conn, os.Error) {
func socksDial(network, addr string) (net.Conn, error) {
sAddr, _ := net.ResolveTCPAddr(network, socksAddr)
domain := addr[:len(addr)-3]
var port uint16 = 80
Expand Down

0 comments on commit 5972b03

Please sign in to comment.