summaryrefslogtreecommitdiff
path: root/comms/qpage/files/patch-util.c
blob: 473e86f81a3e58292ebbf9c23947d252d605af66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- util.c.orig	1998-10-25 19:55:11 UTC
+++ util.c
@@ -537,7 +537,7 @@ msgcpy(char *dst, char *src, int n)
 	** Now make sure we didn't chop a word in the middle.
 	*/
 	if (*src && end) {
-		*end++ = '\0';
+		*++end = '\0';
 		src = start;
 	}