From 3655e2670353d6f333f3ee8b08d01c6ab0b1b566 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Tue, 2 Jun 2015 23:10:04 +0200 Subject: [PATCH] Code style --- src/db.c | 2 +- src/filescanner.c | 2 +- src/http.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/db.c b/src/db.c index da108fda..025da845 100644 --- a/src/db.c +++ b/src/db.c @@ -465,7 +465,7 @@ unicode_fixup_mfi(struct media_file_info *mfi) if (!*field) continue; - ret = unicode_fixup_string(*field,"ascii"); + ret = unicode_fixup_string(*field, "ascii"); if (ret != *field) { free(*field); diff --git a/src/filescanner.c b/src/filescanner.c index 68b140ab..d06c5468 100644 --- a/src/filescanner.c +++ b/src/filescanner.c @@ -588,7 +588,7 @@ fixup_tags(struct media_file_info *mfi) /* fname is left untouched by unicode_fixup_mfi() for * obvious reasons, so ensure it is proper UTF-8 */ - mfi->title = unicode_fixup_string(mfi->fname,"ascii"); + mfi->title = unicode_fixup_string(mfi->fname, "ascii"); if (mfi->title == mfi->fname) mfi->title = strdup(mfi->fname); } diff --git a/src/http.c b/src/http.c index 4d9323bf..c7163254 100644 --- a/src/http.c +++ b/src/http.c @@ -444,11 +444,11 @@ metadata_header_get(struct http_icy_metadata *metadata, AVFormatContext *fmtctx) */ if ((strncmp(icy_token, "icy-name", strlen("icy-name")) == 0) && !metadata->name) - metadata->name = strdup(unicode_fixup_string(ptr,headerenc)); + metadata->name = strdup(unicode_fixup_string(ptr, headerenc)); else if ((strncmp(icy_token, "icy-description", strlen("icy-description")) == 0) && !metadata->description) - metadata->description = strdup(unicode_fixup_string(ptr,headerenc)); + metadata->description = strdup(unicode_fixup_string(ptr, headerenc)); else if ((strncmp(icy_token, "icy-genre", strlen("icy-genre")) == 0) && !metadata->genre) - metadata->genre = strdup(unicode_fixup_string(ptr,headerenc)); + metadata->genre = strdup(unicode_fixup_string(ptr, headerenc)); icy_token = strtok(NULL, "\r\n"); }