# HG changeset patch # User Tuomo Valkonen # Date 1177434047 -7200 # Node ID 13134ea30227e986ee44b0a5f49b7220650f5661 # Parent 96a557abc364bc18b89b56cabc56c6946f400241 Oops, fixed comparison function order. diff -r 96a557abc364 -r 13134ea30227 stringstore.c --- a/stringstore.c Sun Mar 11 00:05:36 2007 +0100 +++ b/stringstore.c Tue Apr 24 19:00:47 2007 +0200 @@ -40,7 +40,7 @@ return (res!=0 ? res - : (nodekey[d->len]=='\0' ? 0 : 1)); + : (nodekey[d->len]=='\0' ? 0 : -1)); }