mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-31 17:49:11 +00:00
Connection password is not constant.
Saying otherwise makes a warning when we assign this to conv.appdata_ptr in pam.c.
This commit is contained in:
parent
c1d7f6216f
commit
164954a788
@ -918,7 +918,7 @@ va_dcl
|
||||
return ok;
|
||||
} /* Conn_WriteStr */
|
||||
|
||||
GLOBAL const char*
|
||||
GLOBAL char*
|
||||
Conn_Password( CONN_ID Idx )
|
||||
{
|
||||
assert( Idx > NONE );
|
||||
|
@ -116,7 +116,7 @@ GLOBAL void Conn_Handler PARAMS(( void ));
|
||||
|
||||
GLOBAL bool Conn_WriteStr PARAMS(( CONN_ID Idx, const char *Format, ... ));
|
||||
|
||||
GLOBAL const char* Conn_Password PARAMS(( CONN_ID Idx ));
|
||||
GLOBAL char* Conn_Password PARAMS(( CONN_ID Idx ));
|
||||
GLOBAL void Conn_SetPassword PARAMS(( CONN_ID Idx, const char *Pwd ));
|
||||
|
||||
GLOBAL void Conn_Close PARAMS(( CONN_ID Idx, const char *LogMsg, const char *FwdMsg, bool InformClient ));
|
||||
|
Loading…
Reference in New Issue
Block a user