Rewrote a loop that caused a seg fault on Windows systems.

This commit is contained in:
Sean Keys 2012-05-15 18:34:23 +00:00
parent 588ae58cd2
commit 43a028780f
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ md_begin (void)
prev_op_name = op_handles[j].name;
}
while (op_handles->name)
for (i = 1; i < (int)number_of_handle_rows; i++)
{
hash_insert (xgate_hash, op_handles->name, (char *) op_handles);
op_handles++;