projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix signed/unsigned checksum problem PAZ-871
[pazpar2-moved-to-github.git]
/
src
/
http_command.c
diff --git
a/src/http_command.c
b/src/http_command.c
index
004abba
..
deed733
100644
(file)
--- a/
src/http_command.c
+++ b/
src/http_command.c
@@
-1009,7
+1009,7
@@
static void show_record(struct http_channel *c, struct http_session *s)
if (checksumstr)
{
- long v = atol(checksumstr);
+ unsigned v = strtoul(checksumstr, 0, 10);
for (i = 0; r; r = r->next)
if (v == r->checksum)
break;