~d-ci/libmemcached/pushtest

« back to all changes in this revision

Viewing changes to libtest/port.cc

  • Committer: Continuous Integration
  • Date: 2013-01-28 22:54:43 UTC
  • mfrom: (1098.1.1 1.2)
  • Revision ID: ci@tangent.org-20130128225443-acu5o9wpr5nhjqob
Merge lp:~tangent-org/libmemcached/1.2-build/ Build: jenkins-Libmemcached-217

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
  // We handle the case where if we max out retries, we still abort.
205
205
  if (retries == 0)
206
206
  {
207
 
    fatal_message("No port could be found, exhausted retry");
 
207
    FATAL("No port could be found, exhausted retry");
208
208
  }
209
209
 
210
210
  if (ret_port == 0)
211
211
  {
212
 
    fatal_message("No port could be found");
 
212
    FATAL("No port could be found");
213
213
  }
214
214
 
215
215
  if (ret_port == default_port)
216
216
  {
217
 
    fatal_message("No port could be found");
 
217
    FATAL("No port could be found");
218
218
  }
219
219
 
220
220
  if (ret_port <= 1024)
221
221
  {
222
 
    fatal_message("No port could be found, though some where available below or at 1024");
 
222
    FATAL("No port could be found, though some where available below or at 1024");
223
223
  }
224
224
 
225
225
  all_socket_fd.last_port= ret_port;