* win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked list

pointer to beginning rather than one beyond beginning.
This commit is contained in:
Christopher Faylor
2001-10-13 01:21:05 +00:00
parent 8e9f4e55a6
commit b8a6375048
2 changed files with 6 additions and 1 deletions

View File

@@ -450,7 +450,7 @@ static int
safe_symbol_file_add_stub (void *argv)
{
#define p ((struct safe_symbol_file_add_args *)argv)
struct so_stuff *so = solib_start.next;
struct so_stuff *so = &solib_start;
while ((so = so->next))
if (strcasecmp (so->name, p->name) == 0)