From: Andre Noll Date: Sun, 21 Dec 2014 13:24:41 +0000 (+0000) Subject: aft.c: Trivial whitespace fixes. X-Git-Tag: v0.5.4~34 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=65399c6f0f45561c8d93c521ca63d13f564ca1cb aft.c: Trivial whitespace fixes. --- diff --git a/aft.c b/aft.c index 3e2c3621..5204ce0c 100644 --- a/aft.c +++ b/aft.c @@ -756,7 +756,6 @@ static void get_duration_buf(int seconds, char *buf, struct ls_options *opts) } } - static int write_attribute_items(struct para_buffer *b, const char *att_bitmap, struct afs_info *afsi) { @@ -1111,8 +1110,7 @@ int open_and_update_audio_file(struct osl_row *aft_row, long score, AFTCOL_CHUNKS, &chunk_table_obj); if (ret < 0) goto err; - ret = mmap_full_file(path, O_RDONLY, &map.data, - &map.size, &afd->fd); + ret = mmap_full_file(path, O_RDONLY, &map.data, &map.size, &afd->fd); if (ret < 0) goto err; hash_function(map.data, map.size, file_hash); @@ -2007,7 +2005,6 @@ int com_add(struct command_context *cc) free(path); } return 1; - } /** @@ -2747,7 +2744,7 @@ static int aft_event_handler(enum afs_events event, struct para_buffer *pb, { int ret; - switch(event) { + switch (event) { case ATTRIBUTE_REMOVE: { const struct rmatt_event_data *red = data; ret = para_printf(pb, "clearing attribute %s (bit %u) from all "