Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit511cc54

Browse files
authored
Merge pull request#1335 from cuibuwei/master
chore: fix some typos in comments
2 parentse00771b +0840d9f commit511cc54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎downloader/downloader.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ func parseFilePartMeta(filepath string, fileSize int64) (*FilePartMeta, error) {
457457
returnnil,errors.WithStack(err)
458458
}
459459
ifreadSize<size {
460-
returnnil,errors.Errorf("the file has beenbroked, please delete all part files and re-download")
460+
returnnil,errors.Errorf("the file has beenbroken, please delete all part files and re-download")
461461
}
462462
err=binary.Read(bytes.NewBuffer(buf[:size]),binary.LittleEndian,meta)
463463
iferr!=nil {

‎downloader/types.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type Aria2RPCData struct {
66
// https://aria2.github.io/manual/en/html/aria2c.html#rpc-interface
77
JSONRPCstring`json:"jsonrpc"`
88
IDstring`json:"id"`
9-
// For a simple download, onlyinplemented `addUri`
9+
// For a simple download, onlyimplemented `addUri`
1010
Methodstring`json:"method"`
1111
// secret, uris, options
1212
Params [3]interface{}`json:"params"`

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp