diff options
author | Robert S. French <rfrench@mit.edu> | 1987-08-07 21:51:21 +0000 |
---|---|---|
committer | Robert S. French <rfrench@mit.edu> | 1987-08-07 21:51:21 +0000 |
commit | 0bf475fd723c0db1462e17ffb72a16c50cc98883 (patch) | |
tree | 222138858fef9283848309d15567af7d6cdba84c /clients/zwrite | |
parent | 1795488a1d5500af527005d1a60e74c2c23d4156 (diff) |
Random quantities of lossage
Diffstat (limited to 'clients/zwrite')
-rw-r--r-- | clients/zwrite/zwrite.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clients/zwrite/zwrite.c b/clients/zwrite/zwrite.c index 31a23aa..5003717 100644 --- a/clients/zwrite/zwrite.c +++ b/clients/zwrite/zwrite.c @@ -145,7 +145,6 @@ main(argc,argv) for (;;) { if (!fgets(bfr,sizeof bfr,stdin)) break; - bfr[strlen(bfr)-1] = '\0'; if (bfr[0] == '.' && bfr[1] == '\0') break; if (strlen(bfr)+(ptr-message) > Z_MAXPKTLEN-len-FUDGEFACTOR) { @@ -157,7 +156,6 @@ main(argc,argv) } strcpy(ptr,bfr); ptr += strlen(ptr); - *ptr++ = '\n'; } *ptr++ = '\0'; |