Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
866b4195
Commit
866b4195
authored
Feb 13, 2012
by
Charlie Root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a printf format issue with time_t
parent
b42a6d17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cli_serve.c
lib/libvarnish/cli_serve.c
+2
-1
No files found.
lib/libvarnish/cli_serve.c
View file @
866b4195
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
#include <ctype.h>
#include <ctype.h>
#include <errno.h>
#include <errno.h>
#include <poll.h>
#include <poll.h>
#include <stdint.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
...
@@ -107,7 +108,7 @@ VCLS_func_ping(struct cli *cli, const char * const *av, void *priv)
...
@@ -107,7 +108,7 @@ VCLS_func_ping(struct cli *cli, const char * const *av, void *priv)
(
void
)
priv
;
(
void
)
priv
;
(
void
)
av
;
(
void
)
av
;
t
=
time
(
NULL
);
t
=
time
(
NULL
);
VCLI_Out
(
cli
,
"PONG %
ld 1.0"
,
t
);
VCLI_Out
(
cli
,
"PONG %
jd 1.0"
,
(
intmax_t
)
t
);
}
}
/*--------------------------------------------------------------------*/
/*--------------------------------------------------------------------*/
...
...
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