mirror of
https://git.zx2c4.com/cgit
synced 2025-07-15 12:44:34 +02:00
White space around control verbs.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
53bc747d31
commit
bdae1d8a8d
16 changed files with 42 additions and 42 deletions
|
@ -112,7 +112,7 @@ const char *reencode(char **txt, const char *src_enc, const char *dst_enc)
|
|||
return *txt;
|
||||
|
||||
/* no encoding needed if src_enc equals dst_enc */
|
||||
if(!strcasecmp(src_enc, dst_enc))
|
||||
if (!strcasecmp(src_enc, dst_enc))
|
||||
return *txt;
|
||||
|
||||
tmp = reencode_string(*txt, dst_enc, src_enc);
|
||||
|
@ -170,7 +170,7 @@ struct commitinfo *cgit_parse_commit(struct commit *commit)
|
|||
}
|
||||
|
||||
/* if no special encoding is found, assume UTF-8 */
|
||||
if(!ret->msg_encoding)
|
||||
if (!ret->msg_encoding)
|
||||
ret->msg_encoding = xstrdup("UTF-8");
|
||||
|
||||
// skip unknown header fields
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue