~ubuntu-branches/ubuntu/wily/aria2/wily-proposed

« back to all changes in this revision

Viewing changes to src/PeerListenCommand.cc

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry
  • Date: 2013-05-06 15:03:54 UTC
  • mfrom: (2.5.18 sid)
  • Revision ID: package-import@ubuntu.com-20130506150354-jt3mjk1q1ukmn0go
Tags: 1.17.0-1
* New upstream release.
* debian/control:
  + Set priority to optional from extra (Closes: #697659).

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
    try {
80
80
      socket_->bind(0, port, family_);
81
81
      socket_->beginListen();
82
 
      A2_LOG_NOTICE(fmt(_("IPv%d BitTorrent: listening to port %u"),
 
82
      A2_LOG_NOTICE(fmt(_("IPv%d BitTorrent: listening on TCP port %u"),
83
83
                        ipv, port));
84
84
      return true;
85
85
    } catch(RecoverableException& ex) {
86
 
      A2_LOG_ERROR_EX(fmt("IPv%d BitTorrent: failed to bind port %u",
 
86
      A2_LOG_ERROR_EX(fmt("IPv%d BitTorrent: failed to bind TCP port %u",
87
87
                          ipv, port), ex);
88
88
      socket_->closeConnection();
89
89
    }