SourceForge has been redesigned. Learn more.
Close

Diff of /minidlna.c [cfe7fa] .. [08172a]  Maximize  Restore

Switch to side-by-side view

--- a/minidlna.c
+++ b/minidlna.c
@@ -825,13 +825,8 @@
 	}
 	else
 	{
-#ifdef READYNAS
-		snprintf(presentationurl, PRESENTATIONURL_MAX_LEN,
-		         "http://%s/admin/", lan_addr[0].str);
-#else
 		snprintf(presentationurl, PRESENTATIONURL_MAX_LEN,
 		         "http://%s:%d/", lan_addr[0].str, runtime_vars.port);
-#endif
 	}
 
 	/* set signal handler */