Fix for UpnpPrintf() in Chandra Penke's last commit.

src/ssdp/ssdp_ctrlpt.c: In function ‘SearchByTarget’:
src/ssdp/ssdp_ctrlpt.c:634: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’
This commit is contained in:
Marcelo Roberto Jimenez
2010-09-09 22:49:47 -03:00
parent 2b3ab1799b
commit 92b241b560

View File

@@ -631,7 +631,7 @@ int SearchByTarget(
while (NumCopy < NUM_SSDP_COPY) {
UpnpPrintf( UPNP_INFO, SSDP, __FILE__, __LINE__,
">>> SSDP SEND M-SEARCH >>>\n%s\n",
*ReqBufv6 );
ReqBufv6);
sendto(gSsdpReqSocket6,
ReqBufv6, strlen(ReqBufv6), 0,
(struct sockaddr *)&__ss_v6,