summaryrefslogtreecommitdiff
path: root/net/gnu-radius/files/patch-symtab.c
blob: c1616834b72d3037f04f8312b08f140db9c084c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- radlib/symtab.c.orig	Tue Nov 27 12:13:36 2001
+++ radlib/symtab.c	Wed Apr 24 09:54:42 2002
@@ -307,6 +307,9 @@
 {
 	int i;
 	Symbol *sym, *next;
+
+	if (symtab->hash_num == -1)
+		return;
 	
 	for (i = 0; i < hash_size[symtab->hash_num]; i++) {
 		sym = symtab->sym[i];