Skip to content
This repository was archived by the owner on Apr 9, 2020. It is now read-only.

Commit e8095ee

Browse files
committed
Merge branch 'develop'
2 parents bf618d1 + d5dda7f commit e8095ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/shadowsocks-local/local.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ func main() {
382382
ss.SetDebug(debug)
383383

384384
if strings.HasSuffix(cmdConfig.Method, "-auth") {
385-
cmdConfig.Method = cmdConfig.Method[:len(cmdConfig.Method)-4]
385+
cmdConfig.Method = cmdConfig.Method[:len(cmdConfig.Method)-5]
386386
cmdConfig.Auth = true
387387
}
388388

cmd/shadowsocks-server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ func main() {
346346
ss.SetDebug(debug)
347347

348348
if strings.HasSuffix(cmdConfig.Method, "-auth") {
349-
cmdConfig.Method = cmdConfig.Method[:len(cmdConfig.Method)-4]
349+
cmdConfig.Method = cmdConfig.Method[:len(cmdConfig.Method)-5]
350350
cmdConfig.Auth = true
351351
}
352352

0 commit comments

Comments
 (0)