git.samba.org
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace another assert with a descriptive error.
[rsync.git]
/
uidlist.c
diff --git
a/uidlist.c
b/uidlist.c
index b7b39142aae5fc4dc2df3df60bfcf1545d6e3ef5..f771fb6b6a1c7db09a2e13eca133812130863529 100644
(file)
--- a/
uidlist.c
+++ b/
uidlist.c
@@
-194,7
+194,7
@@
static struct idlist *recv_add_id(struct idlist **idlist_ptr, struct idlist *idm
if (strcmp(node->name, name) != 0)
continue;
} else if (node->name) {
- if (id < node->id || id > (unsigned long)node->name)
+ if (id < node->id ||
(unsigned long)
id > (unsigned long)node->name)
continue;
} else {
if (node->id != id)