summaryrefslogtreecommitdiffstats
path: root/patches/ppp-2.4.4/ppp-2.4.4-fix-trigraph.dif
diff options
context:
space:
mode:
Diffstat (limited to 'patches/ppp-2.4.4/ppp-2.4.4-fix-trigraph.dif')
-rw-r--r--patches/ppp-2.4.4/ppp-2.4.4-fix-trigraph.dif28
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/ppp-2.4.4/ppp-2.4.4-fix-trigraph.dif b/patches/ppp-2.4.4/ppp-2.4.4-fix-trigraph.dif
new file mode 100644
index 000000000..42c849e04
--- /dev/null
+++ b/patches/ppp-2.4.4/ppp-2.4.4-fix-trigraph.dif
@@ -0,0 +1,28 @@
+Subject: Avoid confusing trigraph message
+From: Juergen Beisert <jbe@pengutronix.de>
+
+Outputting some messages when 'quit' was enabled should be avoided. Also if
+'verbose' is active. By the way this also avoids:
+chat.c:1306:22: warning: trigraph ??) ignored, use -trigraphs to enable
+
+Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
+
+---
+ chat/chat.c | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+Index: chat/chat.c
+===================================================================
+--- chat/chat.c.orig
++++ chat/chat.c
+@@ -1302,9 +1302,7 @@ register char *s;
+ s = clean(s, 1);
+
+ if (verbose) {
+- if (quiet)
+- msgf("send (??????)");
+- else
++ if (!quiet)
+ msgf("send (%v)", s);
+ }
+