diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-02-01 17:09:49 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-02-01 17:09:49 +0000 |
commit | abada90e3f84dc703b8ddc9efcbed8a946fadead (patch) | |
tree | 2c6f9dccd510ea97cb927a7bd635422efaae547a /cs/test/IceSSL/configuration/Client.cs | |
parent | removing trace message (diff) | |
download | ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.tar.bz2 ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.tar.xz ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.zip |
Expanded tabs into spaces
Diffstat (limited to 'cs/test/IceSSL/configuration/Client.cs')
-rwxr-xr-x | cs/test/IceSSL/configuration/Client.cs | 70 |
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); |