diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-25 17:14:13 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-25 17:14:13 +0100 |
commit | e302a970a874bc202505fa1d95d595b14f43a609 (patch) | |
tree | 184a3a16745948086c12c19113197914eadc4c2c /FICS | |
parent | 10090d2687c1f0ee2555ce0436e1c56671c33d70 (diff) |
Reformatted file_has_pname()
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/utils.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/FICS/utils.c b/FICS/utils.c index 97887c3..f77841b 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -769,13 +769,14 @@ PUBLIC int lines_file(char *file) return lcount; } -PUBLIC int file_has_pname(char *fname, char *plogin) +PUBLIC int +file_has_pname(char *fname, char *plogin) { - if (!strcmp(file_wplayer(fname), plogin)) - return 1; - if (!strcmp(file_bplayer(fname), plogin)) - return 1; - return 0; + if (!strcmp(file_wplayer(fname), plogin)) + return 1; + if (!strcmp(file_bplayer(fname), plogin)) + return 1; + return 0; } PUBLIC char * |