diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-06-22 15:43:57 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-06-22 15:47:13 +0200 |
commit | ce4cfd248b4c1c0d044f607804da6b4b312aa239 (patch) | |
tree | a39554e0c0fe9aeb6174c5598667e77b0bbbfcab /data/paste-apache.css | |
parent | d9947c840bbce291c1cf3f0cb73f0c343686892e (diff) |
format_bytes(): fix bug if size=0
If $size is 0 log() will return -INF leading to an "undefined offset"
error when trying to get the suffix.
We fix this by copying the code from fb-client which handles this issue
correctly and will also work for sizes above the biggest suffix (won't
happen here, but who cares).
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'data/paste-apache.css')
0 files changed, 0 insertions, 0 deletions