projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6110a4d
)
Fix signed/unsigned checksum problem PAZ-871
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 17 May 2013 12:59:01 +0000
(14:59 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 17 May 2013 12:59:01 +0000
(14:59 +0200)
src/http_command.c
patch
|
blob
|
history
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;