diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-12-27 17:52:41 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-12-27 17:52:41 -0500 |
| commit | 7bce2e04b618671faafc32a39978d0d8c87cba21 (patch) | |
| tree | ca2e3667d49a5aaee83864c8df3ac3da3fef3138 /MediaBrowser.ServerApplication/Native/ServerAuthorization.cs | |
| parent | 0840bb9ba246d928161516e65a7b12e7ed08701b (diff) | |
sync updates
Diffstat (limited to 'MediaBrowser.ServerApplication/Native/ServerAuthorization.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/Native/ServerAuthorization.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/MediaBrowser.ServerApplication/Native/ServerAuthorization.cs b/MediaBrowser.ServerApplication/Native/ServerAuthorization.cs index e5989db3b..d9063aa58 100644 --- a/MediaBrowser.ServerApplication/Native/ServerAuthorization.cs +++ b/MediaBrowser.ServerApplication/Native/ServerAuthorization.cs @@ -13,11 +13,10 @@ namespace MediaBrowser.ServerApplication.Native /// <summary> /// Authorizes the server. /// </summary> - /// <param name="httpServerPort">The HTTP server port.</param> - /// <param name="httpServerUrlPrefix">The HTTP server URL prefix.</param> /// <param name="udpPort">The UDP port.</param> + /// <param name="httpServerPort">The HTTP server port.</param> /// <param name="tempDirectory">The temp directory.</param> - public static void AuthorizeServer(int httpServerPort, string httpServerUrlPrefix, int udpPort, string tempDirectory) + public static void AuthorizeServer(int udpPort, int httpServerPort, string tempDirectory) { Directory.CreateDirectory(tempDirectory); @@ -37,9 +36,7 @@ namespace MediaBrowser.ServerApplication.Native { FileName = tmpFile, - Arguments = string.Format("{0} {1} {2}", httpServerPort, - httpServerUrlPrefix, - udpPort), + Arguments = string.Format("{0} {1}", udpPort, httpServerPort), CreateNoWindow = true, WindowStyle = ProcessWindowStyle.Hidden, |
