diff options
author | 2015-12-23 19:37:34 +0000 | |
---|---|---|
committer | 2015-12-23 19:37:34 +0000 | |
commit | a0f1c91217a2ad381b539598fa2c1d2bf11b620a (patch) | |
tree | 8e24b68154eea225da61d33c50763f03722a51b3 | |
parent | expand message between processes to 2048 bytes. Andre Smagin found (diff) | |
download | wireguard-openbsd-a0f1c91217a2ad381b539598fa2c1d2bf11b620a.tar.xz wireguard-openbsd-a0f1c91217a2ad381b539598fa2c1d2bf11b620a.zip |
Do undo.
-rw-r--r-- | usr.bin/mg/theo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mg/theo.c b/usr.bin/mg/theo.c index c0ab94172f1..542e91ce4cf 100644 --- a/usr.bin/mg/theo.c +++ b/usr.bin/mg/theo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: theo.c,v 1.149 2015/11/14 21:24:11 sthen Exp $ */ +/* $OpenBSD: theo.c,v 1.150 2015/12/23 19:37:34 lum Exp $ */ /* * Copyright (c) 2002 Artur Grabowski <art@openbsd.org> * All rights reserved. @@ -209,12 +209,14 @@ theo_analyze(int f, int n) str = talk[arc4random_uniform(ntalk)]; len = strlen(str); + undo_boundary_enable(FFRAND, 0); enewline(FFRAND, 2); while (len--) linsert(1, *str++); enewline(FFRAND, 2); + undo_boundary_enable(FFRAND, 1); return (TRUE); } |