summaryrefslogtreecommitdiff
path: root/monitor_wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor_wrap.c')
-rw-r--r--monitor_wrap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c
index d9cbd9e32..0f5ecaaee 100644
--- a/monitor_wrap.c
+++ b/monitor_wrap.c
@@ -25,7 +25,7 @@
25 */ 25 */
26 26
27#include "includes.h" 27#include "includes.h"
28RCSID("$OpenBSD: monitor_wrap.c,v 1.36 2004/06/21 17:36:31 avsm Exp $"); 28RCSID("$OpenBSD: monitor_wrap.c,v 1.37 2004/06/22 05:05:45 dtucker Exp $");
29 29
30#include <openssl/bn.h> 30#include <openssl/bn.h>
31#include <openssl/dh.h> 31#include <openssl/dh.h>
@@ -194,7 +194,7 @@ mm_key_sign(Key *key, u_char **sigp, u_int *lenp, u_char *data, u_int datalen)
194} 194}
195 195
196struct passwd * 196struct passwd *
197mm_getpwnamallow(const char *login) 197mm_getpwnamallow(const char *username)
198{ 198{
199 Buffer m; 199 Buffer m;
200 struct passwd *pw; 200 struct passwd *pw;
@@ -203,7 +203,7 @@ mm_getpwnamallow(const char *login)
203 debug3("%s entering", __func__); 203 debug3("%s entering", __func__);
204 204
205 buffer_init(&m); 205 buffer_init(&m);
206 buffer_put_cstring(&m, login); 206 buffer_put_cstring(&m, username);
207 207
208 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PWNAM, &m); 208 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PWNAM, &m);
209 209