summaryrefslogtreecommitdiff
path: root/files/common/sbin/p2ptbl
diff options
context:
space:
mode:
authorJan Huwald <jh@sotun.de>2012-05-21 12:59:57 (GMT)
committerJan Huwald <jh@sotun.de>2012-05-21 12:59:57 (GMT)
commit0337aab936cc226729b40e8e96855378b82a093e (patch)
tree5c321ebe6a8134b7a06c1a8ed866be77d5b369fe /files/common/sbin/p2ptbl
parentde9938b28dbe7b7471b13251505326c77317bebc (diff)
update hbbp
This patch handles the update of hbbp in the ffj-feed.
Diffstat (limited to 'files/common/sbin/p2ptbl')
-rwxr-xr-xfiles/common/sbin/p2ptbl4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/common/sbin/p2ptbl b/files/common/sbin/p2ptbl
index 3c18855..341cecd 100755
--- a/files/common/sbin/p2ptbl
+++ b/files/common/sbin/p2ptbl
@@ -39,7 +39,7 @@ update () {
if [ -n "$4" ]; then
# broadcast update
gzip <"$tmpfile" >"$tmpfile.gz"
- broadcaster $4 p2ptbl/$(basename "$1") - <"$tmpfile.gz"
+ hbbpc $4 p2ptbl/$(basename "$1") - <"$tmpfile.gz"
rm "$tmpfile.gz"
fi
rm "$tmpfile"
@@ -84,7 +84,7 @@ gossip() {
while [ $lc -ge 1 ]; do
head -n$lc "$1.gossip" | gzip >"$1.gossip.gz"
if [ $tgts -ge $(wc -c <"$1.gossip.gz") ]; then
- broadcaster $if p2ptbl/$(basename "$1") - <"$1.gossip.gz"
+ hbbpc $if p2ptbl/$(basename "$1") - <"$1.gossip.gz"
rm "$1.gossip" "$1.gossip.gz"
return;
fi
contact: Jan Huwald // Impressum