diff options
| author | Brett Smith <brett@w3.org> | 2012-08-23 13:59:17 -0400 |
|---|---|---|
| committer | Brett Smith <brett@w3.org> | 2012-08-23 13:59:17 -0400 |
| commit | 164954a78856893c9be03d95dac73e781e4f78f5 (patch) | |
| tree | c184bbd5f274872dd2ac22c6c9043f2d975ec731 /src | |
| parent | c1d7f6216fc26772160f50269d87a74171f8c0a2 (diff) | |
| download | ngircd-164954a78856893c9be03d95dac73e781e4f78f5.tar.gz ngircd-164954a78856893c9be03d95dac73e781e4f78f5.zip | |
Connection password is not constant.
Saying otherwise makes a warning when we assign this to conv.appdata_ptr in pam.c.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/conn.c | 2 | ||||
| -rw-r--r-- | src/ngircd/conn.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 20d0cd4f..6ab3c2a9 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -918,7 +918,7 @@ va_dcl return ok; } /* Conn_WriteStr */ -GLOBAL const char* +GLOBAL char* Conn_Password( CONN_ID Idx ) { assert( Idx > NONE ); diff --git a/src/ngircd/conn.h b/src/ngircd/conn.h index 341489aa..7dcc8d9d 100644 --- a/src/ngircd/conn.h +++ b/src/ngircd/conn.h @@ -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 )); |