sid 수정

main
JungJun 2 years ago
parent d551ae2e59
commit 5f75853cd6

@ -169,7 +169,7 @@ func StatsCommandVG(t *icsnet.IcsTCPNet, bufend string) {
statInfos := new(StatInfos) statInfos := new(StatInfos)
s := GetIcsSid() s := GetIcsSid()
randNum := fmt.Sprintf("%d4", rand.Intn(9999)) randNum := fmt.Sprintf("%04d", rand.Intn(9999))
// defer func() { // defer func() {
// if err := recover(); err != nil { // if err := recover(); err != nil {
@ -274,7 +274,7 @@ func StatsCommandVA(t *icsnet.IcsTCPNet, bufend string) {
statInfos := new(StatInfos) statInfos := new(StatInfos)
s := GetIcsSid() s := GetIcsSid()
randNum := fmt.Sprintf("%d4", rand.Intn(9999)) randNum := fmt.Sprintf("%04d", rand.Intn(9999))
defer t.Close() defer t.Close()

Loading…
Cancel
Save