From 40bce5660ceaa6e46da54c6d7f59126de8470932 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 17 May 2011 19:43:47 +0200 Subject: [PATCH] Tweak director plugin example --- bacula/src/plugins/dir/example-plugin-dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/plugins/dir/example-plugin-dir.c b/bacula/src/plugins/dir/example-plugin-dir.c index 88145d7547..dddf672c92 100644 --- a/bacula/src/plugins/dir/example-plugin-dir.c +++ b/bacula/src/plugins/dir/example-plugin-dir.c @@ -163,7 +163,7 @@ static bRC handlePluginEvent(bpContext *ctx, bEvent *event, void *value) } bfuncs->getBaculaValue(ctx, bVarJobName, (void *)&name); printf("Job Name=%s\n", name); - bfuncs->JobMessage(ctx, __FILE__, __LINE__, 1, 0, "JobMesssage message"); + bfuncs->JobMessage(ctx, __FILE__, __LINE__, M_INFO, 0, "JobMesssage message"); bfuncs->DebugMessage(ctx, __FILE__, __LINE__, 1, "DebugMesssage message"); return bRC_OK; } -- 2.39.5