if (did_message == 0) {
char *msghook;
if ((msghook = context_find("msg-hook")) != NULL)
- inform(msghook);
+ inform("%s", msghook);
else {
char errbuf[BUFSIZ];
snprintf(errbuf, sizeof(errbuf), "external hook \"%s\"", hook);
}
return (NOTOK);
- }
-
- else
+ } else
return (OK);
}