summaryrefslogtreecommitdiff
path: root/cs/test/IceSSL/configuration/Client.cs
diff options
context:
space:
mode:
Diffstat (limited to 'cs/test/IceSSL/configuration/Client.cs')
-rwxr-xr-xcs/test/IceSSL/configuration/Client.cs70
1 files changed, 35 insertions, 35 deletions
diff --git a/cs/test/IceSSL/configuration/Client.cs b/cs/test/IceSSL/configuration/Client.cs
index 8e54afb2966..29e9b6f3915 100755
--- a/cs/test/IceSSL/configuration/Client.cs
+++ b/cs/test/IceSSL/configuration/Client.cs
@@ -13,46 +13,46 @@ public class Client
{
private static int run(String[] args, Ice.Communicator communicator)
{
- if(args.Length < 1)
- {
- Console.Error.WriteLine("Usage: client testdir");
- return 1;
- }
+ if(args.Length < 1)
+ {
+ Console.Error.WriteLine("Usage: client testdir");
+ return 1;
+ }
- AllTests.allTests(communicator, args[0]);
-
- return 0;
+ AllTests.allTests(communicator, args[0]);
+
+ return 0;
}
public static void Main(string[] args)
{
- int status = 0;
- Ice.Communicator communicator = null;
-
- try
- {
- communicator = Ice.Util.initialize(ref args);
- status = run(args, communicator);
- }
- catch(System.Exception ex)
- {
- Console.Error.WriteLine(ex);
- status = 1;
- }
-
- if(communicator != null)
- {
- try
- {
- communicator.destroy();
- }
- catch(Ice.LocalException ex)
- {
- Console.Error.WriteLine(ex);
- status = 1;
- }
- }
-
+ int status = 0;
+ Ice.Communicator communicator = null;
+
+ try
+ {
+ communicator = Ice.Util.initialize(ref args);
+ status = run(args, communicator);
+ }
+ catch(System.Exception ex)
+ {
+ Console.Error.WriteLine(ex);
+ status = 1;
+ }
+
+ if(communicator != null)
+ {
+ try
+ {
+ communicator.destroy();
+ }
+ catch(Ice.LocalException ex)
+ {
+ Console.Error.WriteLine(ex);
+ status = 1;
+ }
+ }
+
if(status != 0)
{
System.Environment.Exit(status);