/* Gateway kernel
* Europagate, 1995
*
- * $Log: urp.c,v $
- * Revision 1.11 1995/02/22 15:22:33 adam
+ * urp.c,v
+ * Revision 1.13 1995/02/22 16:54:42 adam
+ * Qualifiers of LOC target updated. More logging messages.
+ *
+ * Revision 1.12 1995/02/22 15:51:51 adam
+ * Bug fix: swap of parameter number and offset in function present.
+ *
+ * Revision 1.11 1995/02/22 15:22:33 adam
* Much more checking of run-time state. Show command never retrieves
* more records than indicated by the previous search request. Help
* command available. The maximum number of records retrieved can be
{ NULL, NULL }
};
-static void present (const char *set, int number, int offset,
+static void present (const char *set, int offset, int number,
struct ccl_token *format_token)
{
const struct zass_presentent *zp;
"gw.msg.subject",
"Your Query"));
fprintf (reply_fd, "\n");
+ gw_log (GW_LOG_DEBUG, "urp", "Mail from %s", from_str);
}
else
gw_log (GW_LOG_WARN, "urp", "No From in email header");
gw_log (GW_LOG_FATAL, "urp", "Reply '%s' got exit code %d",
cmd, mta_code);
unlink (reply_fname);
+ gw_log (GW_LOG_DEBUG, "urp", "Normal session end of %s", from_str);
}
return 0;
}