Show More
@@ -1285,7 +1285,9 b' static int nt_shortest(indexObject *self' | |||||
1285 | if (v < 0) { |
|
1285 | if (v < 0) { | |
1286 | const char *n; |
|
1286 | const char *n; | |
1287 | v = -(v + 1); |
|
1287 | v = -(v + 1); | |
1288 | n = index_node(self, v); |
|
1288 | n = index_node_existing(self, v); | |
|
1289 | if (n == NULL) | |||
|
1290 | return -3; | |||
1289 | if (memcmp(node, n, 20) != 0) |
|
1291 | if (memcmp(node, n, 20) != 0) | |
1290 | /* |
|
1292 | /* | |
1291 | * Found a unique prefix, but it wasn't for the |
|
1293 | * Found a unique prefix, but it wasn't for the |
General Comments 0
You need to be logged in to leave comments.
Login now