Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
afb0a4e2
Commit
afb0a4e2
authored
Feb 03, 2011
by
Tollef Fog Heen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation error
Use strcmp and not == for comparing strings
parent
06399aeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mgt_param.c
bin/varnishd/mgt_param.c
+1
-1
No files found.
bin/varnishd/mgt_param.c
View file @
afb0a4e2
...
...
@@ -1104,7 +1104,7 @@ MCF_DumpRst(void)
printf
(
"%s
\n
"
,
pp
->
name
);
if
(
pp
->
units
!=
NULL
&&
*
pp
->
units
!=
'\0'
)
printf
(
"
\t
- Units: %s
\n
"
,
pp
->
units
);
printf
(
"
\t
- Default: %s
\n
"
,
pp
->
def
==
MAGIC_INIT_STRING
?
"magic"
:
pp
->
def
);
printf
(
"
\t
- Default: %s
\n
"
,
strcmp
(
pp
->
def
,
MAGIC_INIT_STRING
)
==
0
?
"magic"
:
pp
->
def
);
/*
* XXX: we should mark the params with one/two flags
* XXX: that say if ->min/->max are valid, so we
...
...
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