Restrict update to positive priority deltas
authorDavid Barksdale <amatus@amat.us>
Mon, 20 Feb 2017 19:08:08 +0000 (13:08 -0600)
committerDavid Barksdale <amatus@amat.us>
Mon, 20 Feb 2017 19:11:19 +0000 (13:11 -0600)
commitfe4f6e8cedfa8d0a57b0247727fc4849d38c2f3a
treecbcbc99a93ec8f466426190a340cc46f54d2641e
parentf553963d649374a75cc5a6e57df39d83565eb913
Restrict update to positive priority deltas

This is only ever called with positive values and the mysql and postgres
plugins were not handling negative values correctly anyway.
src/datastore/gnunet-service-datastore.c
src/datastore/plugin_datastore_heap.c
src/datastore/plugin_datastore_mysql.c
src/datastore/plugin_datastore_postgres.c
src/datastore/plugin_datastore_sqlite.c
src/datastore/plugin_datastore_template.c
src/include/gnunet_datastore_plugin.h