Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
2cff8ea1
Commit
2cff8ea1
authored
Oct 10, 1993
by
Per Cederqvist
Browse files
POSIXized include files.
(get_real_username): Test HAVE_LIBAUTHUSER instead of RFC_931.
parent
625275c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/rfc931.c
View file @
2cff8ea1
/*
* $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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment