import gdb-2000-01-05 snapshot

This commit is contained in:
Jason Molenda 2000-01-06 03:07:20 +00:00
parent 1b45fe546b
commit c3f6f71df3
74 changed files with 18148 additions and 14752 deletions

View file

@ -266,9 +266,12 @@ static int open_socket(void)
static void fetch_ports(void)
{
int i;
const char ctrlpacket[] = CTRL_MAGIC;
CtrlResponse response;
char ctrlpacket[10];
CtrlResponse response;
memset (ctrlpacket, 0, 10);
strcpy (ctrlpacket, CTRL_MAGIC);
memset (response, 0, sizeof(CtrlResponse));
/*
* we will try 3 times to elicit a response from the target
*/