(auth_encrypt_init, RemoteHostName, LocalHostName): const-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7809 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -47,13 +47,14 @@ RCSID("$Id$");
|
|||||||
#include "encrypt.h"
|
#include "encrypt.h"
|
||||||
|
|
||||||
|
|
||||||
char *RemoteHostName;
|
const char *RemoteHostName;
|
||||||
char *LocalHostName;
|
const char *LocalHostName;
|
||||||
char *UserNameRequested = 0;
|
char *UserNameRequested = 0;
|
||||||
int ConnectedCount = 0;
|
int ConnectedCount = 0;
|
||||||
|
|
||||||
void
|
void
|
||||||
auth_encrypt_init(char *local, char *remote, char *name, int server)
|
auth_encrypt_init(const char *local, const char *remote, const char *name,
|
||||||
|
int server)
|
||||||
{
|
{
|
||||||
RemoteHostName = remote;
|
RemoteHostName = remote;
|
||||||
LocalHostName = local;
|
LocalHostName = local;
|
||||||
|
Reference in New Issue
Block a user