aboutsummaryrefslogtreecommitdiff
path: root/btsd.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-11-07 21:03:04 +0000
committerrodri <rgl@antares-labs.eu>2024-11-07 21:03:04 +0000
commitdbf2640b573990cf3377dc65824fc6870a5ee3ff (patch)
tree61d8e7ca49195d1ed38faa8ac221432b67548e53 /btsd.c
parent823f61432e47e648de28e7b701495572665b4e5f (diff)
downloadbattleship-dbf2640b573990cf3377dc65824fc6870a5ee3ff.tar.gz
battleship-dbf2640b573990cf3377dc65824fc6870a5ee3ff.tar.bz2
battleship-dbf2640b573990cf3377dc65824fc6870a5ee3ff.zip
btsd: tiny cleanup.
Diffstat (limited to 'btsd.c')
-rw-r--r--btsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btsd.c b/btsd.c
index f804c39..2858374 100644
--- a/btsd.c
+++ b/btsd.c
@@ -731,7 +731,7 @@ c2proc(void *)
buf[n] = 0;
nf = tokenize(buf, f, nelem(f));
- if((nf == 2 || nf == 3) && strcmp(f[0], "show") == 0){
+ if(strcmp(f[0], "show") == 0){
if(nf == 2 && strcmp(f[1], "matches") == 0)
fprintmatches(pfd[1]);
else if(nf == 3 && strcmp(f[1], "match") == 0){