From 9740f51d00ed3bfb6ef35bd9ac1cb0433485f19b Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Sat, 8 May 2004 20:41:27 +0000
Subject: [PATCH] Update default astman types for newer newt (bug #1578)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 astman/astman.c | 6 +++---
 utils/astman.c  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/astman/astman.c b/astman/astman.c
index 1b5cd50bca..1fa41568b1 100755
--- a/astman/astman.c
+++ b/astman/astman.c
@@ -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];
diff --git a/utils/astman.c b/utils/astman.c
index 1b5cd50bca..1fa41568b1 100755
--- a/utils/astman.c
+++ b/utils/astman.c
@@ -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];
-- 
GitLab