Skip to content
Snippets Groups Projects
Commit 2cff8ea1 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

POSIXized include files.

(get_real_username): Test HAVE_LIBAUTHUSER instead of RFC_931.
parent 625275c2
No related branches found
No related tags found
No related merge requests found
/*
* $Id: rfc931.c,v 1.8 1993/10/08 17:43:53 ceder Exp $
* $Id: rfc931.c,v 1.9 1993/10/10 16:59:34 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -31,20 +31,22 @@
* Link with "-lauthuser".
*/
#include <stddef.h>
#include "isc-interface.h"
#include "rfc931.h"
#ifdef RFC_931
#include <authuser.h>
#endif
#ifdef HAVE_LIBAUTHUSER
#include <errno.h>
#include <authuser.h>
#include <stdio.h>
#include <time.h>
#include "log.h"
#endif
#include "isc-interface.h"
char *
get_real_username(IscSession *scb,
char *hostname)
{
#ifdef RFC_931
#ifdef HAVE_LIBAUTHUSER
unsigned long inlocal;
unsigned long inremote;
unsigned short local;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment