input: make unique mapping per port.
This commit is contained in:
@@ -38,7 +38,7 @@ unsigned int str_hash(const char *s, unsigned int initial)
|
||||
unsigned int hash = initial;
|
||||
int c;
|
||||
|
||||
while( c = *s++ )
|
||||
while((c = *s++))
|
||||
{
|
||||
hash = ((hash << 5) + hash) + c;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user