… | … | ||
---|---|---|---|
189 | 189 | ||
190 | if (!len) | 190 | if (!len) |
191 | pthread_exit (0); | 191 | pthread_exit (0); |
192 | else if (len != sizeof (req)) | 192 | else if (len != sizeof (req)) |
193 | { | 193 | { |
194 | perror ("AnyEvent::FastPing: short reead or read error"); | 194 | perror ("AnyEvent::FastPing: short read or read error"); |
195 | pthread_exit ((void *)-1); | 195 | pthread_exit ((void *)-1); |
196 | } | 196 | } |
197 | 197 | ||
198 | //TODO: bind to source address | 198 | //TODO: bind to source address |
199 | 199 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |