Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Modify the Chinese punctuation mark to the English punctuation mark
Browse files Browse the repository at this point in the history
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
  • Loading branch information
yuxiaobo96 committed Sep 3, 2019
1 parent 7eebe77 commit 1fe5e94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dfget/core/downloader/p2p_downloader/p2p_downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (p2p *P2PDownloader) Run() error {
}
}

// NOTE: Should we call it directly here
// NOTE: Should we call it directly here?
// Maybe we should return an error and let the caller decide whether to call it.
if p2p.cfg.BackSourceReason != 0 {
backDownloader := backDown.NewBackDownloader(p2p.cfg, p2p.RegisterResult)
Expand Down
2 changes: 1 addition & 1 deletion dfget/core/uploader/uploader_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func FinishTask(ip string, port int, taskFileName, cid, taskID, node string) err
return uploaderAPI.FinishTask(ip, port, req)
}

// checkServer check if the server is available
// checkServer check if the server is available.
func checkServer(ip string, port int, dataDir, taskFileName string, totalLimit int) (string, error) {

// prepare the request body
Expand Down

0 comments on commit 1fe5e94

Please sign in to comment.