Skip to content

Commit

Permalink
Keep the fallback port consistent with the one before
Browse files Browse the repository at this point in the history
  • Loading branch information
Catalyn45 committed Mar 13, 2024
1 parent d33723e commit 2302f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func init() {
socket, err := syscall.Socket(syscall.AF_UNIX, syscall.SOCK_STREAM, 0)
if err != nil {
gDefaultSocketProt = "tcp"
gDefaultSocketPath = "127.0.0.1:1234"
gDefaultSocketPath = "127.0.0.1:12345"
} else {
gDefaultSocketPath = filepath.Join(data, "lf", fmt.Sprintf("lf.%s.sock", gUser.Username))
syscall.Close(socket)
Expand Down

0 comments on commit 2302f92

Please sign in to comment.