mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
dom mar 16 23:37:23 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
term.c
4
term.c
@@ -51,7 +51,7 @@ int term_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
char *term_color(char *outbuf, char *inbuf, int fgcolor, int bgcolor, int maxout)
|
||||
char *term_color(char *outbuf, const char *inbuf, int fgcolor, int bgcolor, int maxout)
|
||||
{
|
||||
int attr=0;
|
||||
char tmp[40];
|
||||
@@ -94,7 +94,7 @@ char *term_color(char *outbuf, char *inbuf, int fgcolor, int bgcolor, int maxout
|
||||
return outbuf;
|
||||
}
|
||||
|
||||
char *term_prompt(char *outbuf, char *inbuf, int maxout)
|
||||
char *term_prompt(char *outbuf, const char *inbuf, int maxout)
|
||||
{
|
||||
if (!vt100compat) {
|
||||
strncpy(outbuf, inbuf, maxout -1);
|
||||
|
Reference in New Issue
Block a user