Files
@ bf7a694aee23
Branch filter:
Location: ohnobinki_overlay/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.23-authd-fix.patch - annotation
bf7a694aee23
829 B
text/x-diff
app-portage/sunrise-commit: Bump to sunrise-commit-0.3, which is the exact same code as is in sunrise-commit-0.3_pre20101108.
(Portage version: 2.2.0_alpha2-r1/hg/Linux x86_64, signed Manifest commit with key 6BA81050)
(Portage version: 2.2.0_alpha2-r1/hg/Linux x86_64, signed Manifest commit with key 6BA81050)
63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 63da8e681792 | fix warnings:
auth_sasldb.c: In function ‘auth_sasldb’:
auth_sasldb.c:144: warning: implicit declaration of function ‘gethostname’
auth_sasldb.c:153: warning: passing argument 8 of ‘_sasldb_getdata’ from incompatible pointer type
../sasldb/sasldb.h:60: note: expected ‘size_t *’ but argument is of type ‘int *’
--- saslauthd/auth_sasldb.c
+++ saslauthd/auth_sasldb.c
@@ -41,6 +41,7 @@
#include <string.h>
#include <stdlib.h>
#include <pwd.h>
+#include <unistd.h>
/* END PUBLIC DEPENDENCIES */
#define RETURN(x) return strdup(x)
@@ -131,7 +132,8 @@
/* VARIABLES */
char pw[1024]; /* pointer to passwd file entry */
sasl_utils_t utils;
- int ret, outsize;
+ int ret;
+ size_t outsize;
const char *use_realm;
char realm_buf[MAXHOSTNAMELEN];
/* END VARIABLES */
|