-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: cccbc9b07994decbfe2aebdb1355324e328e7716: path_to: revision_to:
commit cccbc9b07994decbfe2aebdb1355324e328e7716 Author: Marc Lehmann <schmorp@schmorp.de> Date: Wed Jan 25 11:16:09 2006 +0000 *** empty log message *** diff --git a/src/logging.C b/src/logging.C
--- a/src/logging.C +++ b/src/logging.C @@ -37,6 +37,10 @@ #include "../config.h" +#include "ptytty.h" + +#if UTMP_SUPPORT + #include <cstdio> #include <sys/types.h> @@ -45,10 +49,6 @@ #include <unistd.h> #include <time.h> -#include "ptytty.h" - -#if UTMP_SUPPORT - #if HAVE_STRUCT_UTMP static int write_bsd_utmp (int utmp_pos, struct utmp *wu); static void update_wtmp (const char *fname, const struct utmp *putmp); @@ -428,7 +428,7 @@ update_lastlog (const char *fname, const char *pty, const char *host) pwent = getpwuid (getuid ()); if (!pwent) { - ptytty_warn ("no entry in password file, not updating lastlog.\n"); + ptytty_warn ("no entry in password file, not updating lastlog.\n", 0); return; } diff --git a/src/proxy.C b/src/proxy.C
--- a/src/proxy.C +++ b/src/proxy.C @@ -305,7 +305,7 @@ ptytty::init () #if PTYTTY_HELPER use_helper (); #else - ptytty_warn ("running setuid/setgid without pty helper compiled in, continuing unprivileged.\n"); + ptytty_warn ("running setuid/setgid without pty helper compiled in, continuing unprivileged.\n", 0); #endif drop_privileges ();
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 11:32:55 2024