summaryrefslogtreecommitdiff
path: root/sample/sample-plugins/log/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'sample/sample-plugins/log/log.c')
-rw-r--r--sample/sample-plugins/log/log.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sample/sample-plugins/log/log.c b/sample/sample-plugins/log/log.c
index ecf62c0..b5c1c3b 100644
--- a/sample/sample-plugins/log/log.c
+++ b/sample/sample-plugins/log/log.c
@@ -156,11 +156,15 @@ show(const int type, const char *argv[], const char *envp[])
printf("ARGV\n");
for (i = 0; argv[i] != NULL; ++i)
+ {
printf("%d '%s'\n", (int)i, argv[i]);
+ }
printf("ENVP\n");
for (i = 0; envp[i] != NULL; ++i)
+ {
printf("%d '%s'\n", (int)i, envp[i]);
+ }
}
OPENVPN_EXPORT int