From 1f29b0cac1e13128ecc1eb67aeaa1fd1b6d25c80 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Wed, 30 Sep 2009 00:46:02 +0000 Subject: [PATCH] * Include the port number in the default presentation URL. One user claims XBox360 won't work without this. --- minidlna.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minidlna.c b/minidlna.c index d1534e0..c92b40d 100644 --- a/minidlna.c +++ b/minidlna.c @@ -605,7 +605,7 @@ init(int argc, char * * argv) "https://%s/admin/", lan_addr[0].str); #else snprintf(presentationurl, PRESENTATIONURL_MAX_LEN, - "http://%s/", lan_addr[0].str); + "http://%s:%d/", lan_addr[0].str, runtime_vars.port); #endif }