diff src/imap/cmd-namespace.c @ 3863:55df57c028d4 HEAD

Added "bool" type and changed all ints that were used as booleans to bool.
author Timo Sirainen <tss@iki.fi>
date Fri, 13 Jan 2006 22:25:57 +0200
parents 61abed5f7864
children 4862cb37106c
line wrap: on
line diff
--- a/src/imap/cmd-namespace.c	Fri Jan 13 17:11:47 2006 +0200
+++ b/src/imap/cmd-namespace.c	Fri Jan 13 22:25:57 2006 +0200
@@ -9,7 +9,7 @@
 static void list_namespaces(struct namespace *ns, enum namespace_type type,
 			    string_t *str)
 {
-	int found = FALSE;
+	bool found = FALSE;
 
 	while (ns != NULL) {
 		if (ns->type == type && !ns->hidden) {
@@ -33,7 +33,7 @@
 		str_append(str, "NIL");
 }
 
-int cmd_namespace(struct client_command_context *cmd)
+bool cmd_namespace(struct client_command_context *cmd)
 {
 	struct client *client = cmd->client;
 	string_t *str;