summaryrefslogtreecommitdiff
path: root/cpp/src/IceUtil/InputUtil.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2002-07-08 07:44:11 +0000
committerMichi Henning <michi@zeroc.com>2002-07-08 07:44:11 +0000
commit127006192c11ab218d735b3e3295777344b0780b (patch)
tree486e13e142aa7ef914497f58bc41a50fb32af454 /cpp/src/IceUtil/InputUtil.cpp
parentMinor fix. (diff)
downloadice-127006192c11ab218d735b3e3295777344b0780b.tar.bz2
ice-127006192c11ab218d735b3e3295777344b0780b.tar.xz
ice-127006192c11ab218d735b3e3295777344b0780b.zip
Style fixes.
Diffstat (limited to 'cpp/src/IceUtil/InputUtil.cpp')
-rw-r--r--cpp/src/IceUtil/InputUtil.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/IceUtil/InputUtil.cpp b/cpp/src/IceUtil/InputUtil.cpp
index 6b69086cbad..b8652fff152 100644
--- a/cpp/src/IceUtil/InputUtil.cpp
+++ b/cpp/src/IceUtil/InputUtil.cpp
@@ -45,10 +45,11 @@ strToInt64(const char* s, char** endptr, int base)
// Check for sign
//
int sign = 1;
- if (*s == '+')
+ if(*s == '+')
{
++s;
- } else if (*s == '-')
+ }
+ else if(*s == '-')
{
sign = -1;
++s;
@@ -82,7 +83,7 @@ strToInt64(const char* s, char** endptr, int base)
//
// Check that we have something left to parse
//
- if (*s == '/0')
+ if(*s == '/0')
{
return 0;
}