diff options
-rw-r--r-- | FICS/ratings.c | 2 |
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') |