aboutsummaryrefslogtreecommitdiffstats
path: root/src/raw.c
diff options
context:
space:
mode:
authorfishsoupisgood <github@madingley.org>2018-04-02 13:44:37 +0100
committerfishsoupisgood <github@madingley.org>2018-04-02 13:44:37 +0100
commitc9b8482030929f53937e32fce63c78a4a0acadfd (patch)
tree8be9975d6dc207b123011b7ce4c344503c9b5e53 /src/raw.c
parenta579468e37a003185329493eb8db2792204865fb (diff)
downloadsympathy-c9b8482030929f53937e32fce63c78a4a0acadfd.tar.gz
sympathy-c9b8482030929f53937e32fce63c78a4a0acadfd.tar.bz2
sympathy-c9b8482030929f53937e32fce63c78a4a0acadfd.zip
some fixes and support for syslog logging
Diffstat (limited to 'src/raw.c')
-rw-r--r--src/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raw.c b/src/raw.c
index 48a1405..2909d54 100644
--- a/src/raw.c
+++ b/src/raw.c
@@ -192,7 +192,7 @@ terminal_new_raw (int rfd, int wfd)
RAW_TERMINAL *t;
t = (RAW_TERMINAL *) malloc (sizeof (RAW_TERMINAL));
- memset (t, 0, sizeof (t));
+ memset (t, 0, sizeof (*t));
strcpy (t->name, "raw");
t->rfd = rfd;