~scarneiro/ubuntu/raring/adns/fix-for-ignored-make-clean-errors

« back to all changes in this revision

Viewing changes to client/adnstest.c

  • Committer: Bazaar Package Importer
  • Author(s): Bernd Eckenfels
  • Date: 2001-06-29 06:30:29 UTC
  • Revision ID: james.westby@ubuntu.com-20010629063029-zvsk3uv9gphwwr9h
Tags: 1.0-6
* fixed another architecture regression problem (Closes bug: #101116)
* added debhelper build depends
* removed dh_suidregister
* removed INSTALL doc file (make lintian and policy happy)

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
 
78
78
static void failure_errno(const char *what, int errnoval) NONRETURNING;
79
79
static void failure_errno(const char *what, int errnoval) {
80
 
  fprintf(stderr,"adns failure: %s: errno=%d\n",what,errnoval);
 
80
  /* this is a ugly hack to make 'ndotsbad' regression test independend of the integer value (Hurd!) -ecki@debian.org */
 
81
  if (errnoval==EINVAL)
 
82
        fprintf(stderr,"adns failure: %s: errno=EINVAL\n",what);
 
83
  else
 
84
        fprintf(stderr,"adns failure: %s: errno=%d\n",what,errnoval);
81
85
  quitnow(2);
82
86
}
83
87