Removing unused NUM_COPY variable.
Previously, NUM_COPY was used in ssdp_device.c to send multiple copies of each advertisements but also multiple replies to each M-SEARCH request. As sending multiple replies is not compliant with HTTPU/MU spec, NUM_COPY has been set to 1 in an older patch. However, as this variable is not needed and has been replaced with SSDP_COPY, it has been removed.
This commit is contained in:

committed by
Marcelo Roberto Jimenez

parent
96dc968f18
commit
2d22e997e1
@@ -90,7 +90,6 @@ typedef enum SsdpCmdType{
|
||||
#define SSDP_IPV6_SITELOCAL "FF05::C"
|
||||
#define SSDP_PORT 1900
|
||||
#define NUM_TRY 3
|
||||
#define NUM_COPY 1
|
||||
#define THREAD_LIMIT 50
|
||||
#define COMMAND_LEN 300
|
||||
|
||||
|
Reference in New Issue
Block a user