aboutsummaryrefslogtreecommitdiffstats
path: root/callerid.c
diff options
context:
space:
mode:
Diffstat (limited to 'callerid.c')
-rwxr-xr-xcallerid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/callerid.c b/callerid.c
index 859a876dd..544345bea 100755
--- a/callerid.c
+++ b/callerid.c
@@ -242,8 +242,8 @@ int callerid_feed(struct callerid_state *cid, unsigned char *ubuf, int len, int
break;
}
- strcpy(cid->number, "");
- strcpy(cid->name, "");
+ cid->number[0] = '\0';
+ cid->name[0] = '\0';
/* If we get this far we're fine. */
if (cid->type == 0x80) {
/* MDMF */