From: Eric Bollengier Date: Tue, 17 May 2011 17:43:47 +0000 (+0200) Subject: Tweak director plugin example X-Git-Tag: Release-7.0.0~907 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b596253d364743b27a5cb52c4d8e07ec430bcc52;p=bacula%2Fbacula Tweak director plugin example --- 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; }