switch (pid = fork()) {
case -1:
status = NOTOK;
- advise(NULL, "external database may be out-of-date.");
+ inform("external database may be out-of-date.");
break;
case 0:
if (did_message == 0) {
char *msghook;
if ((msghook = context_find("msg-hook")) != NULL)
- advise(NULL, msghook);
+ inform(msghook);
else {
char errbuf[BUFSIZ];
snprintf(errbuf, sizeof(errbuf), "external hook \"%s\"", hook);