summaryrefslogtreecommitdiff
path: root/AuGetAddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'AuGetAddr.c')
-rw-r--r--AuGetAddr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/AuGetAddr.c b/AuGetAddr.c
index ab13cb6..6275531 100644
--- a/AuGetAddr.c
+++ b/AuGetAddr.c
@@ -71,12 +71,12 @@ _Xconst char* name)
auth_name = XauFileName ();
if (!auth_name)
- return 0;
+ return NULL;
if (access (auth_name, R_OK) != 0) /* checks REAL id */
- return 0;
+ return NULL;
auth_file = fopen (auth_name, "rb");
if (!auth_file)
- return 0;
+ return NULL;
for (;;) {
entry = XauReadAuth (auth_file);
if (!entry)