summaryrefslogtreecommitdiff
path: root/utils/astman.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-09-19 01:20:23 +0000
committerMark Spencer <markster@digium.com>2003-09-19 01:20:23 +0000
commitb0500e19450c50257d101701e0935ab90d454874 (patch)
treeec1706266dc862ec5bdb5f6a2012de235c1b0644 /utils/astman.c
parent320a52e5f52981c66c62e54a1fb44de410671a07 (diff)
Code cleanups (bug #66)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils/astman.c')
-rwxr-xr-xutils/astman.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/astman.c b/utils/astman.c
index 2eb35f68e..a9dba8d61 100755
--- a/utils/astman.c
+++ b/utils/astman.c
@@ -427,7 +427,7 @@ static int get_user_input(char *msg, char *buf, int buflen)
newtComponent ok;
newtComponent cancel;
newtComponent inpfield;
- char *input;
+ const char *input;
int res = -1;
struct newtExitStruct es;
@@ -550,8 +550,8 @@ static int login(char *hostname)
newtComponent label;
newtComponent ulabel;
newtComponent plabel;
- char *user;
- char *pass;
+ const char *user;
+ const char *pass;
struct message *m;
struct newtExitStruct es;
char tmp[55];