]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Minor code fix/cleanup.
authorTimo Sirainen <tss@iki.fi>
Mon, 3 May 2010 22:31:54 +0000 (01:31 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 3 May 2010 22:31:54 +0000 (01:31 +0300)
--HG--
branch : HEAD

src/auth/auth-request.c
src/auth/auth-request.h

index ad79957d5985f627f436ecf2afbce6ecbff28d21..77b5f4ade63d46f11e147621aa591aaed77cc697 100644 (file)
@@ -26,7 +26,7 @@
 
 #define CACHED_PASSWORD_SCHEME "SHA1"
 
-enum auth_request_state auth_request_state_count[AUTH_REQUEST_STATE_MAX];
+unsigned int auth_request_state_count[AUTH_REQUEST_STATE_MAX];
 
 static void get_log_prefix(string_t *str, struct auth_request *auth_request,
                           const char *subsystem);
index 5e9ba25d643365f166dfb2bb0a22727f79cd766f..ed9d00f420b19576dbe9ab28959e2e58ef3e9ca8 100644 (file)
@@ -112,7 +112,7 @@ struct auth_request {
        /* ... mechanism specific data ... */
 };
 
-extern enum auth_request_state auth_request_state_count[AUTH_REQUEST_STATE_MAX];
+extern unsigned int auth_request_state_count[AUTH_REQUEST_STATE_MAX];
 
 struct auth_request *
 auth_request_new(const struct mech_module *mech,