Skip to content

Commit

Permalink
lib-smtp: Consistently use signed integer for reference counters.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanbosch committed Nov 1, 2018
1 parent f996eb5 commit 0eee748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib-smtp/smtp-client-private.h
Expand Up @@ -15,7 +15,7 @@

struct smtp_client_command {
pool_t pool;
unsigned int refcount;
int refcount;

struct smtp_client_command *prev, *next;

Expand Down
4 changes: 2 additions & 2 deletions src/lib-smtp/smtp-server-private.h
Expand Up @@ -92,7 +92,7 @@ struct smtp_server_command {
struct smtp_server_cmd_ctx context;
const struct smtp_server_command_reg *reg;

unsigned int refcount;
int refcount;

enum smtp_server_command_state state;

Expand Down Expand Up @@ -136,7 +136,7 @@ struct smtp_server_connection {
struct connection conn;
struct smtp_server *server;
pool_t pool;
unsigned int refcount;
int refcount;

struct smtp_server_settings set;

Expand Down

0 comments on commit 0eee748

Please sign in to comment.