@@ -15,8 +15,8 @@ import (
15
15
"sync"
16
16
"time"
17
17
18
- "github.com/scionproto/scion/go/lib/snet"
19
18
"github.com/scionproto/scion/go/lib/sciond"
19
+ "github.com/scionproto/scion/go/lib/snet"
20
20
)
21
21
22
22
const (
@@ -164,7 +164,7 @@ func main() {
164
164
// }
165
165
// }
166
166
// If it's not an snet SCMP error, then it's something more serious and fail
167
- check (err )
167
+ // check(err)
168
168
}
169
169
if n > 0 {
170
170
if receivePacketBuffer [0 ] == 'L' {
@@ -183,7 +183,7 @@ func main() {
183
183
binary .LittleEndian .PutUint32 (sendPacketBuffer [sendLen :], currentFiles [mostRecentFile ].size )
184
184
currentFilesLock .Unlock ()
185
185
sendLen = sendLen + 4
186
- n , err = udpConnection .WriteTo (sendPacketBuffer [:sendLen ], remoteUDPaddress )
186
+ _ , err = udpConnection .WriteTo (sendPacketBuffer [:sendLen ], remoteUDPaddress )
187
187
check (err )
188
188
} else if receivePacketBuffer [0 ] == 'G' && n > 1 {
189
189
filenameLen := int (receivePacketBuffer [1 ])
@@ -206,7 +206,7 @@ func main() {
206
206
// Copy image contents
207
207
copy (sendPacketBuffer [9 :], v .content [startByte :endByte ])
208
208
sendLen := 9 + endByte - startByte
209
- n , err = udpConnection .WriteTo (sendPacketBuffer [:sendLen ], remoteUDPaddress )
209
+ _ , err = udpConnection .WriteTo (sendPacketBuffer [:sendLen ], remoteUDPaddress )
210
210
check (err )
211
211
}
212
212
}
0 commit comments