commit | afb88a669167358ea2be64aa0d10c8c42fa7509c | [log] [tgz] |
---|---|---|
author | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | Tue Mar 20 20:48:27 2007 +0000 |
committer | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | Tue Mar 20 20:48:27 2007 +0000 |
tree | 2439441fa56db6ecbae310473af7f1e1808916f2 | |
parent | ad81f8cc2e77275cdeef1267d1ff4173eb89e093 [diff] |
[lib] Make message lookup function more robust. 2007-03-20 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * log.c: (mes_lookup) Make the function more robust: check for cases where the index does not match the key value at that position. If so, give a warning and fall back to a linear search. And improve the error message in cases where even that fails.