aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2018-09-25 23:51:14 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2018-09-25 23:51:14 (GMT)
commit1c026e617c3c2615fe521c88716d5338c2dc370c (patch)
treeab53fcbf8852684ebc8bbf99c77ae2aa405a59ed
parent23b404df5420c106f884b17c5b598530a6d8afd3 (diff)
downloadpowwow-1c026e617c3c2615fe521c88716d5338c2dc370c.zip
powwow-1c026e617c3c2615fe521c88716d5338c2dc370c.tar.gz
powwow-1c026e617c3c2615fe521c88716d5338c2dc370c.tar.bz2
fix off-by-one
-rw-r--r--powwow-muc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/powwow-muc.c b/powwow-muc.c
index 4f8ae18..ea7171f 100644
--- a/powwow-muc.c
+++ b/powwow-muc.c
@@ -121,7 +121,7 @@ int main( int argc, char *argv[] ) {
}
/* suck out action for display */
- sscanf( line, "%100s", action );
+ sscanf( line, "%99s", action );
/* Modify sleep time according to speed, zero is fast as you can go, 1 == pause */
orig = sleep;