Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions transports/p2p/upnp.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func getChildDevice(d *device, deviceType string) *device {
return nil
}

// getChildDevice searches the service list of device for a service with the
// getChildService searches the service list of device for a service with the
// given type.
func getChildService(d *device, serviceType string) *upnpXML {
for i := range d.ServiceList.Service {
Expand Down Expand Up @@ -286,7 +286,7 @@ type soapEnvelope struct {
Body soapBody `xml:"Body"`
}

// soapRequests performs a soap request with the given parameters and returns
// soapRequest performs a soap request with the given parameters and returns
// the xml replied stripped of the soap headers. in the case that the request is
// unsuccessful the an error is returned.
func soapRequest(url, function, message string) (replyXML []byte, err error) {
Expand Down