Update default astman types for newer newt (bug #1578)
authorMark Spencer <markster@digium.com>
Sat, 8 May 2004 20:41:27 +0000 (20:41 +0000)
committerMark Spencer <markster@digium.com>
Sat, 8 May 2004 20:41:27 +0000 (20:41 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2926 65c4cc65-6c06-0410-ace0-fbb531ad65f3

astman/astman.c
utils/astman.c

index 1b5cd50..1fa4156 100755 (executable)
@@ -430,7 +430,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;
 
@@ -553,8 +553,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];
index 1b5cd50..1fa4156 100755 (executable)
@@ -430,7 +430,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;
 
@@ -553,8 +553,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];