summaryrefslogtreecommitdiffstats
path: root/polyp/cli-command.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-01-10 17:51:06 +0000
committerLennart Poettering <lennart@poettering.net>2006-01-10 17:51:06 +0000
commitf7a99e90470526bb28cc0c225f96490110094aed (patch)
treecbcc4f2df6d66e180fd65ee50488545786d094f1 /polyp/cli-command.c
parent80ae72ce45dbc23ddc360749924110dcc752491e (diff)
Merge Pierre's changes
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@445 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/cli-command.c')
-rw-r--r--polyp/cli-command.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/polyp/cli-command.c b/polyp/cli-command.c
index 0e8e09a5..12447879 100644
--- a/polyp/cli-command.c
+++ b/polyp/cli-command.c
@@ -641,7 +641,11 @@ static int pa_cli_command_dump(struct pa_core *c, struct pa_tokenizer *t, struct
time(&now);
+#ifdef HAVE_CTIME_R
pa_strbuf_printf(buf, "### Configuration dump generated at %s\n", ctime_r(&now, txt));
+#else
+ pa_strbuf_printf(buf, "### Configuration dump generated at %s\n", ctime(&now));
+#endif
for (m = pa_idxset_first(c->modules, &index); m; m = pa_idxset_next(c->modules, &index)) {