* [Patch 2/2] chunkd: use correct size
@ 2009-08-13 5:16 Pete Zaitcev
0 siblings, 0 replies; only message in thread
From: Pete Zaitcev @ 2009-08-13 5:16 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Project Hail List
The strings can never be this long, but I think it looks nicer.
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
diff --git a/server/server.c b/server/server.c
index 15ac4f1..44d97c9 100644
--- a/server/server.c
+++ b/server/server.c
@@ -631,7 +631,7 @@ static bool cli_resp_xml(struct client *cli, GList *content)
{
int rc;
bool rcb;
- int content_len = strlist_len(content);
+ size_t content_len = strlist_len(content);
struct chunksrv_req *resp = NULL;
resp = malloc(sizeof(*resp));
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-13 5:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-13 5:16 [Patch 2/2] chunkd: use correct size Pete Zaitcev
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.