diff --git a/examples/gcoap_fileserver/main.c b/examples/gcoap_fileserver/main.c index 220c064441bec..e736315726b5e 100644 --- a/examples/gcoap_fileserver/main.c +++ b/examples/gcoap_fileserver/main.c @@ -50,19 +50,19 @@ static void _event_cb(gcoap_fileserver_event_t event, gcoap_fileserver_event_ctx { switch (event) { case GCOAP_FILESERVER_GET_FILE_START: - printf("gcoap fileserver: Download started: %s\n", ctx->file); + printf("gcoap fileserver: Download started: %s\n", ctx->path); break; case GCOAP_FILESERVER_GET_FILE_END: - printf("gcoap fileserver: Download finished: %s\n", ctx->file); + printf("gcoap fileserver: Download finished: %s\n", ctx->path); break; case GCOAP_FILESERVER_PUT_FILE_START: - printf("gcoap fileserver: Upload started: %s\n", ctx->file); + printf("gcoap fileserver: Upload started: %s\n", ctx->path); break; case GCOAP_FILESERVER_PUT_FILE_END: - printf("gcoap fileserver: Upload finished: %s\n", ctx->file); + printf("gcoap fileserver: Upload finished: %s\n", ctx->path); break; case GCOAP_FILESERVER_DELETE_FILE: - printf("gcoap fileserver: Delete %s\n", ctx->file); + printf("gcoap fileserver: Delete %s\n", ctx->path); break; } }