mirror of
https://github.com/transmission/transmission
synced 2024-12-26 17:47:37 +00:00
(trunk libT) #2551: "when uploading to peers, prefetch local data from disk" -- fix peer-msgs.c NULL pointer dereference introduced in r9514 for this ticket. Reported by Waldorf
This commit is contained in:
parent
95328f5535
commit
47c6ec5efa
1 changed files with 2 additions and 1 deletions
|
@ -1973,7 +1973,8 @@ fillOutputBuffer( tr_peermsgs * msgs, time_t now )
|
|||
protocolSendReject( msgs, &req );
|
||||
}
|
||||
|
||||
prefetchPieces( msgs );
|
||||
if( msgs != NULL )
|
||||
prefetchPieces( msgs );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue