diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:41 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:41 +0000 |
commit | 046c2c32dd7268cc51de9748f42c14abc102e4f6 (patch) | |
tree | 10e45a24782e633b9f6e1f8b427fac91ee2ddfa8 /AuUnlock.c | |
parent | dcc3fc52f917603df94ef4207f1dec9238dce23b (diff) |
merge XFree86 4.3.0.1 to -CURRENT
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; } |