diff src/ushare.c @ 171:6c710e5a28b8

Support latest upnp-api
author Naoya OYAMA <naoya.oyama@gmail.com>
date Tue, 23 Oct 2012 20:31:01 +0900
parents 4f3640bf350d
children 2ae60285f383
line wrap: on
line diff
--- a/src/ushare.c	Wed Oct 17 23:47:16 2012 +0900
+++ b/src/ushare.c	Tue Oct 23 20:31:01 2012 +0900
@@ -202,11 +202,6 @@
   if (strcmp (request->DevUDN + 5, ut->udn))
     return;
 
-  ip = request->CtrlPtIPAddr.s_addr;
-  ip = ntohl (ip);
-  sprintf (val, "%d.%d.%d.%d",
-           (ip >> 24) & 0xFF, (ip >> 16) & 0xFF, (ip >> 8) & 0xFF, ip & 0xFF);
-
   if (ut->verbose)
   {
     DOMString str = ixmlPrintDocument (request->ActionRequest);
@@ -215,7 +210,6 @@
     log_verbose ("***************************************************\n");
     log_verbose ("ServiceID: %s\n", request->ServiceID);
     log_verbose ("ActionName: %s\n", request->ActionName);
-    log_verbose ("CtrlPtIP: %s\n", val);
     log_verbose ("Action Request:\n%s\n", str);
     ixmlFreeDOMString (str);
   }