aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/ratings.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/ratings.c')
-rw-r--r--FICS/ratings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/ratings.c b/FICS/ratings.c
index 1cebfd4..4ab7d9d 100644
--- a/FICS/ratings.c
+++ b/FICS/ratings.c
@@ -1499,7 +1499,7 @@ DisplayRankedPlayers(int p, int start, int end, int show, int showComp)
PUBLIC int
ShowFromString(char *s)
{
- int len = strlen(s);
+ int len = strlen(s ? s : "");
int show = 0;
if (s == NULL || s[0] == '\0')