summaryrefslogtreecommitdiffstats
path: root/src/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/printf.c')
-rw-r--r--src/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printf.c b/src/printf.c
index 72bc941..bef598c 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -183,7 +183,7 @@ void fastd_printf(const fastd_context *ctx, const char *format, ...) {
p = va_arg(ap, void*);
if (p) {
- char* str = ctx->conf->method->peer_str(ctx, (fastd_peer*)p);
+ char* str = ctx->conf->protocol->peer_str(ctx, (fastd_peer*)p);
fprintf(stderr, "%s", str);
free(str);
}