diff options
author | Alexander Kabaev <kan@FreeBSD.org> | 2004-07-28 05:44:52 +0000 |
---|---|---|
committer | Alexander Kabaev <kan@FreeBSD.org> | 2004-07-28 05:44:52 +0000 |
commit | 511938318c5c91d251c8b55e6b13fb18f8108506 (patch) | |
tree | 40c14b2205e21a9e5dd741c42590c8d158d5ee3e /lib | |
parent | c2cc554bbeb6071cb62024923567f1c908f5eb7b (diff) | |
download | src-511938318c5c91d251c8b55e6b13fb18f8108506.tar.gz src-511938318c5c91d251c8b55e6b13fb18f8108506.zip |
Notes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libncp/ncpl_conn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libncp/ncpl_conn.c b/lib/libncp/ncpl_conn.c index a54c625d92f9..8f49cb9a2c88 100644 --- a/lib/libncp/ncpl_conn.c +++ b/lib/libncp/ncpl_conn.c @@ -424,9 +424,9 @@ ncp_login(int connHandle, const char *user, int objtype, const char *password) { ncp_init_request(conn); ncp_add_byte(conn, NCP_CONN_LOGIN); p = (struct ncp_conn_login *)&conn->packet[conn->rqsize]; - (const char*)p->username = user; + p->username = (char *)user; p->objtype = objtype; - (const char*)p->password = password; + p->password = (char *)password; conn->rqsize += sizeof(*p); if ((error = ncp_conn_request(connHandle, conn)) < 0) return -1; |