summaryrefslogtreecommitdiffstats
path: root/socket_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket_server.c')
-rw-r--r--socket_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/socket_server.c b/socket_server.c
index e1853d3..166080d 100644
--- a/socket_server.c
+++ b/socket_server.c
@@ -192,7 +192,7 @@ void admin_cleanup(void)
int admin_interface(struct admin_queue **responsep)
{
struct admin_queue *response; /* response pointer */
- char *err_txt = "";
+ const char *err_txt = "";
int err = 0;
if (read_interfaces())
@@ -569,7 +569,7 @@ int admin_call(struct admin_list *admin, struct admin_message *msg)
/*
* this function is called for response whenever a call state changes.
*/
-void admin_call_response(int adminid, int message, char *connected, int cause, int location, int notify)
+void admin_call_response(int adminid, int message, const char *connected, int cause, int location, int notify)
{
struct admin_list *admin;
struct admin_queue *response, **responsep; /* response pointer */