~ubuntu-branches/ubuntu/dapper/gnats/dapper

« back to all changes in this revision

Viewing changes to gnats/gnatsd.c

  • Committer: Bazaar Package Importer
  • Author(s): Chad Walstrom
  • Date: 2005-03-07 17:56:31 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050307175631-agtm10dvjbemuc64
Tags: 4.1.0-0
* New upstream version
* debian/rules: now uses '--with-lispdir' option instead of environment
  variable overloading. Re-enabled optimization.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include "query.h"
25
25
 
26
26
#ifdef HAVE_LIBCRYPT
27
 
#ifdef HAVE_CRYPT               /* some systems declare `crypt' in unistd.h */
 
27
#ifdef HAVE_CRYPT_H             /* some systems declare `crypt' in unistd.h */
28
28
#include <crypt.h>
29
29
#endif
30
30
#endif
478
478
                         requested database. */
479
479
                      const char *l2 = ent->admFields[3];
480
480
                      
481
 
                      if (! strlen(l2))
 
481
                      if (l2 == NULL || ! strlen(l2))
482
482
                        found = 1;
483
483
                      
484
484
                      while (l2 != NULL && ! found)