/[AnywhereTS-MSSQL]/trunk/TSAdminTool/frmClientProperties.cs
ViewVC logotype

Diff of /trunk/TSAdminTool/frmClientProperties.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/TSAdminTool/frmClientProperties.cs	2012/07/12 14:17:14	46
+++ trunk/TSAdminTool/frmClientProperties.cs	2012/07/12 14:29:34	47
@@ -567,11 +567,11 @@
                     {
                         currentConfig.ServerPort = Int32.Parse(txtServerPort.Text.Trim());
                     }
-                    catch (Exception e)
+                    catch (Exception ex)
                     {
                         tabClientProperties.SelectTab("tabRdp");
                         MessageBox.Show("Invalid server port!");
-                        using (log4net.NDC.Push(string.Format("SqlException: MESSAGE={0}{1}Diagnostics:{1}{2}", e.Message, System.Environment.NewLine, e.ToString())))
+                        using (log4net.NDC.Push(string.Format("SqlException: MESSAGE={0}{1}Diagnostics:{1}{2}", ex.Message, System.Environment.NewLine, ex.ToString())))
                         {
                             using (log4net.NDC.Push(string.Format("serverport={0}", txtServerPort.Text)))
                             {

 

  ViewVC Help
Powered by ViewVC 1.1.22