fix beos build
This commit is contained in:
@@ -1877,7 +1877,7 @@ int main(int argc, char* argv[])
|
||||
, esc("37"), s.distributed_copies, esc("0")
|
||||
, s.sparse_regions
|
||||
, esc("32"), add_suffix(s.download_rate, "/s").c_str(), esc("0")
|
||||
, esc("37"), t.hours(), t.minutes(), t.seconds(), esc("0")
|
||||
, esc("37"), int(t.hours()), int(t.minutes()), int(t.seconds()), esc("0")
|
||||
, esc("36"), s.current_tracker.c_str(), esc("0"));
|
||||
out += str;
|
||||
++lines_printed;
|
||||
|
@@ -3,6 +3,7 @@
|
||||
#include "libtorrent/session.hpp"
|
||||
#include "libtorrent/bencode.hpp"
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
|
||||
using namespace libtorrent;
|
||||
|
||||
@@ -65,7 +66,7 @@ int main(int argc, char* argv[])
|
||||
{
|
||||
if ((argc == 2 && strcmp(argv[1], "--help") == 0) || argc > 2)
|
||||
{
|
||||
std::cerr << "usage: rss_reader [rss-url]\n";
|
||||
fprintf(stderr, "usage: rss_reader [rss-url]\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user