diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:47 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:47 +0000 |
commit | 1be3101aeab9b6136c32a91c23799724a7fe7797 (patch) | |
tree | 10e45a24782e633b9f6e1f8b427fac91ee2ddfa8 /AuUnlock.c | |
parent | dcc3fc52f917603df94ef4207f1dec9238dce23b (diff) |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'AuUnlock.c')
-rw-r--r-- | AuUnlock.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -25,10 +25,12 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ +/* $XFree86: xc/lib/Xau/AuUnlock.c,v 1.4 2001/12/14 19:54:36 dawes Exp $ */ #include <X11/Xauth.h> #include <X11/Xos.h> +int #if NeedFunctionPrototypes XauUnlockAuth ( _Xconst char *file_name) @@ -43,7 +45,7 @@ char *file_name; char link_name[1025]; if (strlen (file_name) > 1022) - return; + return 0; #ifndef WIN32 (void) strcpy (creat_name, file_name); (void) strcat (creat_name, "-c"); @@ -57,4 +59,6 @@ char *file_name; (void) unlink (creat_name); #endif (void) unlink (link_name); + + return 1; } |