mirror of
https://github.com/derfenix/webarchive.git
synced 2026-03-11 12:41:54 +03:00
Cleanup
This commit is contained in:
@@ -27,9 +27,7 @@ func (r *Results) UnmarshalMsgpack(b []byte) error {
|
||||
|
||||
func (r *Results) Add(result Result) {
|
||||
r.mu.Lock()
|
||||
results := r.results
|
||||
results = append(results, result)
|
||||
r.results = results
|
||||
r.results = append(r.results, result)
|
||||
r.mu.Unlock()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user