Summary: | ASTERISK-00215: Fixes a nit with exiting from remote console mode | ||
Reporter: | Thorsten Lockert (tholo) | Labels: | |
Date Opened: | 2003-09-03 20:45:48 | Date Closed: | 2008-01-15 14:33:46.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) a.diff | |
Description: | Due to the way the "quit" and "exit" command is handled in the remote console (asterisk -r), exitting may pose a problem if command completion is used. ****** ADDITIONAL INFORMATION ****** This is because the literal string "quit" or "exit" is matched, which will fail if there is even a space after them on the command line. If command completion is used, there *will* be a space there. In addition, an assignment is done to a const pointer without providing a cast to allow this. This causes the compiler to emit a warning. The attached patch fixes these issues. | ||
Comments: | By: Mark Spencer (markster) 2003-09-03 22:54:36 Fixed in CVS By: Digium Subversion (svnbot) 2008-01-15 14:33:46.000-0600 Repository: asterisk Revision: 1468 U trunk/asterisk.c ------------------------------------------------------------------------ r1468 | markster | 2008-01-15 14:33:45 -0600 (Tue, 15 Jan 2008) | 2 lines Better handling of quit/exit (bug ASTERISK-215) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=1468 |