Small typo fix and set slpd sockt O_NONBLOCK

This commit is contained in:
thorkill 2016-05-15 17:24:07 +02:00
parent 756a6607e1
commit 99e0f5777c
2 changed files with 20 additions and 1 deletions

View file

@ -1628,7 +1628,7 @@ void handle_incoming_slpd_data(void *data, int flags) {
sockaddr_t addr = {};
socklen_t addrlen = sizeof addr;
logger(DEBUG_SCARY_THINGS, LOG_INFO, "Receiving LPD packet");
logger(DEBUG_SCARY_THINGS, LOG_INFO, "Receiving SLPD packet");
int len = recvfrom(ls->udp.fd, (void *)&pkt, MAXSIZE, 0, &addr.sa, &addrlen);