]> arthur.barton.de Git - netatalk.git/blobdiff - etc/papd/printcap.c
Previous fix 9e4e07c1811edbaf3376ad6e238a1353b405002b resulted in the inability to...
[netatalk.git] / etc / papd / printcap.c
index 67304d813d3cb2dbea29308ba9ad00eac5c52022..9215a11139794d3765fe90803aaf98d06e106230 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: printcap.c,v 1.11 2009-10-13 22:55:37 didg Exp $
+ * $Id: printcap.c,v 1.12 2009-10-14 02:24:05 didg Exp $
  *
  * Copyright (c) 1990,1994 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -466,11 +466,11 @@ tgetstr(char *id, char **area)
        for (;;) {
                bp = tskip(bp);
                if (!*bp)
-                       return (0);
+                       return (NULL);
                if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1])
                        continue;
                if (*bp == '@')
-                       return(0);
+                       return(NULL);
                if (*bp != '=')
                        continue;
                bp++;