aboutsummaryrefslogtreecommitdiff
path: root/x11/rxvt-unicode
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2011-12-23 16:44:11 +0000
committerThierry Thomas <thierry@FreeBSD.org>2011-12-23 16:44:11 +0000
commitd3c3f06e258ff45d209b0408bbd2726b90b3eabe (patch)
treefa222d23df2c865fb4cc5229685a8c10ab5b5a66 /x11/rxvt-unicode
parent304843ed09cf10027ffb9a7b9fb9f9fcea65640b (diff)
downloadports-d3c3f06e258ff45d209b0408bbd2726b90b3eabe.tar.gz
ports-d3c3f06e258ff45d209b0408bbd2726b90b3eabe.zip
Notes
Diffstat (limited to 'x11/rxvt-unicode')
-rw-r--r--x11/rxvt-unicode/files/patch-libptytty-src-logging.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/rxvt-unicode/files/patch-libptytty-src-logging.C b/x11/rxvt-unicode/files/patch-libptytty-src-logging.C
index 0f1b887bedc3..dd856dbf2649 100644
--- a/x11/rxvt-unicode/files/patch-libptytty-src-logging.C
+++ b/x11/rxvt-unicode/files/patch-libptytty-src-logging.C
@@ -5,7 +5,7 @@
// records, but most implementations of last use ut_line to
// associate records in wtmp file
- strncpy (utx->ut_line, line, sizeof (utx->ut_line));
-+ if(id)
++ if(line)
+ strncpy (utx->ut_line, line, sizeof (utx->ut_line));
fill_id (utx->ut_id, line, sizeof (utx->ut_id));
utx->ut_pid = pid;