mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-18 18:46:16 +00:00
Merged revisions 49676 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r49676 | kpfleming | 2007-01-05 16:16:33 -0600 (Fri, 05 Jan 2007) | 2 lines reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -39,7 +39,6 @@
|
||||
|
||||
#include "asterisk/md5.h"
|
||||
#include "asterisk/linkedlists.h"
|
||||
#include "asterisk/manager.h"
|
||||
|
||||
#undef gethostbyname
|
||||
|
||||
@@ -54,6 +53,13 @@
|
||||
*/
|
||||
#define _NEWT_CAST (void *)
|
||||
|
||||
#define DEFAULT_MANAGER_PORT 5038
|
||||
|
||||
struct message {
|
||||
unsigned int hdrcount;
|
||||
char headers[MAX_HEADERS][MAX_LEN];
|
||||
};
|
||||
|
||||
static struct ast_mansession {
|
||||
struct sockaddr_in sin;
|
||||
int fd;
|
||||
|
Reference in New Issue
Block a user