Skip to content

Commit

Permalink
Fixed order of logs
Browse files Browse the repository at this point in the history
  • Loading branch information
lilendian0x00 committed Aug 31, 2023
1 parent 6b4745a commit ccbdd57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/net/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ var HttpCmd = &cobra.Command{
wg.Done()
}()

d.Printf("Config Number: %d\n", configIndex+1)
parsed, err := xray.ParseXrayConfig(links[configIndex])
if err != nil {
customlog.Printf(customlog.Failure, "Couldn't parse the config!\n\n")
Expand Down Expand Up @@ -144,6 +143,7 @@ var HttpCmd = &cobra.Command{
//os.Exit(1)
}
r.Delay = delay
d.Printf("Config Number: %d\n", configIndex+1)
fmt.Printf("%v", parsed.DetailsStr())
customlog.Printf(customlog.Success, "Real Delay: %dms\n\n", delay)

Expand Down

0 comments on commit ccbdd57

Please sign in to comment.