diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-26 17:53:41 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-26 17:53:41 -0200 |
commit | 1a750c272683fab37cc7cd4327ccefdfa39faf85 (patch) | |
tree | 23c973ca975ec853807032e3bb1eca58422f31ce /rx/XAuth.c | |
parent | 549335c473370f8a243be79387577306e525f144 (diff) |
Correct make distcheck and most sparse warnings.
Only remaining sparse warning is about no previous definition for
the function vectors declared in Xtrans/Xtranssock.c.
Also, use only one .gitignore file, instead of one per directory.
Diffstat (limited to 'rx/XAuth.c')
-rw-r--r-- | rx/XAuth.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -36,6 +36,7 @@ The Open Group. #ifndef XFUNCPROTO_NOT_AVAILABLE #include <X11/Xauth.h> #endif +#include "XAuth.h" static void printhexdigit(char *ptr, unsigned int d) @@ -136,7 +137,7 @@ SECURITY extension not supported\n"); } auth_return = XSecurityGenerateAuthorization(dpy, auth_in, xsamask, &xsa, auth_id_ret); - if (auth_return == 0) { + if (auth_return == NULL) { fprintf(stderr, "Error: Failed to setup authorization, cannot create key\n"); goto error; |