~ubuntu-branches/ubuntu/quantal/ceph/quantal

« back to all changes in this revision

Viewing changes to src/mon/MonMap.cc

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-08-27 08:23:21 UTC
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: package-import@ubuntu.com-20120827082321-2cfej6ddvk63vsqq
Tags: upstream-0.48.1
ImportĀ upstreamĀ versionĀ 0.48.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
265
265
  // -m foo?
266
266
  if (!conf->mon_host.empty()) {
267
267
    int r = build_from_host_list(conf->mon_host, "noname-");
268
 
    if (r < 0)
269
 
      errout << "unable to parse addrs in '" << conf->mon_host << "'" << std::endl;
 
268
    if (r < 0) {
 
269
      errout << "unable to parse addrs in '" << conf->mon_host << "'"
 
270
             << std::endl;
 
271
      return r;
 
272
    }
270
273
    return 0;
271
274
  }
272
275