Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
e24fa377
Commit
e24fa377
authored
May 23, 2017
by
Oliver Heidmann
Browse files
added {} for a one line if
parent
1c7282df
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util.cc
View file @
e24fa377
...
...
@@ -228,8 +228,10 @@ const char *getOperatorName(const char *operatorArg)
if
(
operatorArg
)
{
if
(
operatorArg
[
0
]
==
'-'
)
operatorArg
++
;
if
(
operatorArg
[
0
]
==
'-'
)
{
operatorArg
++
;
}
char
*
commapos
=
(
char
*
)
strchr
(
operatorArg
,
','
);
size_t
len
=
(
commapos
!=
NULL
)
?
(
size_t
)(
commapos
-
operatorArg
)
:
strlen
(
operatorArg
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment