projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Must enable UDP when receiving ping packets too.
[umurmur.git]
/
src
/
pds.c
diff --git
a/src/pds.c
b/src/pds.c
index 3a57954f68f3318688f55b0aad19f37923a843e1..6f63e1a1f3943d0b3d241fcbe9f1fc21c08bb01d 100644
(file)
--- a/
src/pds.c
+++ b/
src/pds.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 2010, Martin Johansson <martin@fatbob.nu>
+/* Copyright (C) 20
09-20
10, Martin Johansson <martin@fatbob.nu>
Copyright (C) 2005-2010, Thorvald Natvig <thorvald@natvig.com>
All rights reserved.
Copyright (C) 2005-2010, Thorvald Natvig <thorvald@natvig.com>
All rights reserved.
@@
-95,7
+95,7
@@
uint8_t Pds_next8(pds_t *pds)
int Pds_skip(pds_t *pds, int offset)
{
int Pds_skip(pds_t *pds, int offset)
{
- if (pds->offset + offset < pds->maxsize) {
+ if (pds->offset + offset <
=
pds->maxsize) {
pds->offset += offset;
return offset;
} else {
pds->offset += offset;
return offset;
} else {