Changeset 942 for trunk/libtransmission/upnp.c
- Timestamp:
- Sep 28, 2006, 1:40:51 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/upnp.c
r939 r942 1229 1229 tr_httpAddBody( http, 1230 1230 "<s:Envelope" 1231 " xmlns:s= '" SOAP_ENVELOPE "'"1232 " s:encodingStyle= 'http://schemas.xmlsoap.org/soap/encoding/'>"1231 " xmlns:s=\"" SOAP_ENVELOPE "'\"" 1232 " s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">" 1233 1233 " <s:Body>" 1234 " <u:%s xmlns:u= '" UPNP_SERVICE_TYPE "'>", action->name );1234 " <u:%s xmlns:u=\"" UPNP_SERVICE_TYPE "\">", action->name ); 1235 1235 1236 1236 va_start( ap, action ); … … 1270 1270 { 1271 1271 action->name = strdup( name ); 1272 action->action = joinstrs( UPNP_SERVICE_TYPE, "#", name ); 1272 action->action = NULL; 1273 asprintf( &action->action, "\"%s#%s\"", UPNP_SERVICE_TYPE, name ); 1273 1274 assert( NULL == action->args ); 1274 1275 action->args = malloc( sizeof( *action->args ) * prealloc );
Note: See TracChangeset
for help on using the changeset viewer.