Skip to content

Commit

Permalink
fix syntax errors... oops
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisaaronland committed Jun 19, 2019
1 parent 4230e75 commit c954ff8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/pubssed-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ func main() {
sse_addr := fmt.Sprintf("%s:%d", *sse_host, *sse_port)
log.Printf("Listening on %s\n", sse_addr)

err := http.ListenAndServe(sse_addr, mux)
err = http.ListenAndServe(sse_addr, mux)

if err != nil {
err_ch <- err
log.Fatal(err)
}

os.Exit(0)
Expand Down

0 comments on commit c954ff8

Please sign in to comment.