From 056f4b699724fd157c19e676f82b6f8aa37147cd Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Mon, 8 Feb 2010 19:32:53 +0100 Subject: [PATCH] Reindent dmap_add_field() Fix indentation in dmap_add_field(), no functional changes. --- src/httpd_daap.c | 80 ++++++++++++++++++++++++------------------------ 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/src/httpd_daap.c b/src/httpd_daap.c index 6545bf23..caa2df5b 100644 --- a/src/httpd_daap.c +++ b/src/httpd_daap.c @@ -733,55 +733,55 @@ dmap_add_field(struct evbuffer *evbuf, const struct dmap_field *df, char *strval switch (df->type) { - case DMAP_TYPE_UBYTE: - if (val.v_u32) - dmap_add_char(evbuf, df->tag, val.v_u32); - break; + case DMAP_TYPE_UBYTE: + if (val.v_u32) + dmap_add_char(evbuf, df->tag, val.v_u32); + break; - case DMAP_TYPE_BYTE: - if (val.v_i32) - dmap_add_char(evbuf, df->tag, val.v_i32); - break; + case DMAP_TYPE_BYTE: + if (val.v_i32) + dmap_add_char(evbuf, df->tag, val.v_i32); + break; - case DMAP_TYPE_USHORT: - if (val.v_u32) - dmap_add_short(evbuf, df->tag, val.v_u32); - break; + case DMAP_TYPE_USHORT: + if (val.v_u32) + dmap_add_short(evbuf, df->tag, val.v_u32); + break; - case DMAP_TYPE_SHORT: - if (val.v_i32) - dmap_add_short(evbuf, df->tag, val.v_i32); - break; + case DMAP_TYPE_SHORT: + if (val.v_i32) + dmap_add_short(evbuf, df->tag, val.v_i32); + break; - case DMAP_TYPE_DATE: - case DMAP_TYPE_UINT: - if (val.v_u32) - dmap_add_int(evbuf, df->tag, val.v_u32); - break; + case DMAP_TYPE_DATE: + case DMAP_TYPE_UINT: + if (val.v_u32) + dmap_add_int(evbuf, df->tag, val.v_u32); + break; - case DMAP_TYPE_INT: - if (val.v_i32) - dmap_add_int(evbuf, df->tag, val.v_i32); - break; + case DMAP_TYPE_INT: + if (val.v_i32) + dmap_add_int(evbuf, df->tag, val.v_i32); + break; - case DMAP_TYPE_ULONG: - if (val.v_u64) - dmap_add_long(evbuf, df->tag, val.v_u64); - break; + case DMAP_TYPE_ULONG: + if (val.v_u64) + dmap_add_long(evbuf, df->tag, val.v_u64); + break; - case DMAP_TYPE_LONG: - if (val.v_i64) - dmap_add_long(evbuf, df->tag, val.v_i64); - break; + case DMAP_TYPE_LONG: + if (val.v_i64) + dmap_add_long(evbuf, df->tag, val.v_i64); + break; - case DMAP_TYPE_STRING: - if (strval) - dmap_add_string(evbuf, df->tag, strval); - break; + case DMAP_TYPE_STRING: + if (strval) + dmap_add_string(evbuf, df->tag, strval); + break; - case DMAP_TYPE_VERSION: - case DMAP_TYPE_LIST: - return; + case DMAP_TYPE_VERSION: + case DMAP_TYPE_LIST: + return; } }