Fix for debug printf format strings. size_t are not expected.
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@181 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
parent
00a33f5788
commit
b1f6e83380
@ -205,7 +205,7 @@ notify_send_and_recv( IN uri_type * destination_url,
|
|||||||
// connect
|
// connect
|
||||||
DBGONLY( UpnpPrintf( UPNP_ALL, GENA, __FILE__, __LINE__,
|
DBGONLY( UpnpPrintf( UPNP_ALL, GENA, __FILE__, __LINE__,
|
||||||
"gena notify to: %.*s\n",
|
"gena notify to: %.*s\n",
|
||||||
destination_url->hostport.text.size,
|
(int)destination_url->hostport.text.size,
|
||||||
destination_url->hostport.text.buff ); )
|
destination_url->hostport.text.buff ); )
|
||||||
|
|
||||||
conn_fd = http_Connect( destination_url, &url );
|
conn_fd = http_Connect( destination_url, &url );
|
||||||
|
@ -393,7 +393,7 @@ DBGONLY( void print_uri( uri_type * in ) {
|
|||||||
************************************************************************/
|
************************************************************************/
|
||||||
DBGONLY( void print_token( token * in ) {
|
DBGONLY( void print_token( token * in ) {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
printf( "Token Size : %d\n\'", in->size );
|
printf( "Token Size : %zd\n\'", in->size );
|
||||||
for( i = 0; i < in->size; i++ ) {
|
for( i = 0; i < in->size; i++ ) {
|
||||||
putchar( in->buff[i] );}
|
putchar( in->buff[i] );}
|
||||||
putchar( '\'' ); putchar( '\n' );}
|
putchar( '\'' ); putchar( '\n' );}
|
||||||
|
@ -644,8 +644,9 @@ SoapSendAction( IN char *action_url,
|
|||||||
|
|
||||||
DBGONLY( UpnpPrintf( UPNP_INFO, SOAP, __FILE__, __LINE__,
|
DBGONLY( UpnpPrintf( UPNP_INFO, SOAP, __FILE__, __LINE__,
|
||||||
"path=%.*s, hostport=%.*s\n",
|
"path=%.*s, hostport=%.*s\n",
|
||||||
url.pathquery.size, url.pathquery.buff,
|
(int)url.pathquery.size,
|
||||||
url.hostport.text.size,
|
url.pathquery.buff,
|
||||||
|
(int)url.hostport.text.size,
|
||||||
url.hostport.text.buff ); )
|
url.hostport.text.buff ); )
|
||||||
|
|
||||||
xml_start_len = strlen( xml_start );
|
xml_start_len = strlen( xml_start );
|
||||||
@ -800,8 +801,9 @@ SoapSendActionEx( IN char *action_url,
|
|||||||
|
|
||||||
DBGONLY( UpnpPrintf( UPNP_INFO, SOAP, __FILE__, __LINE__,
|
DBGONLY( UpnpPrintf( UPNP_INFO, SOAP, __FILE__, __LINE__,
|
||||||
"path=%.*s, hostport=%.*s\n",
|
"path=%.*s, hostport=%.*s\n",
|
||||||
url.pathquery.size, url.pathquery.buff,
|
(int)url.pathquery.size,
|
||||||
url.hostport.text.size,
|
url.pathquery.buff,
|
||||||
|
(int)url.hostport.text.size,
|
||||||
url.hostport.text.buff ); )
|
url.hostport.text.buff ); )
|
||||||
|
|
||||||
xml_start_len = strlen( xml_start );
|
xml_start_len = strlen( xml_start );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user