From eccfbc334ceb8627487f588c7d30fc4680b3637e Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 20 Aug 2023 18:27:34 +0200 Subject: [PATCH] Fix compile warning --- lib/libesp32/rtsp/platglue-esp32.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libesp32/rtsp/platglue-esp32.h b/lib/libesp32/rtsp/platglue-esp32.h index 1a71b3a90..0d921bb80 100755 --- a/lib/libesp32/rtsp/platglue-esp32.h +++ b/lib/libesp32/rtsp/platglue-esp32.h @@ -69,8 +69,9 @@ inline ssize_t udpsocketsend(UDPSOCKET sockfd, const void *buf, size_t len, { sockfd->beginPacket(destaddr, destport); sockfd->write((const uint8_t *) buf, len); - if(!sockfd->endPacket()) + if(!sockfd->endPacket()) { // printf("error sending udp packet\n"); + } return len; }