summaryrefslogtreecommitdiff
path: root/src/notes.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-06-26 20:25:07 +0200
committerBardur Arantsson <bardur@scientician.net>2014-06-26 20:45:28 +0200
commit63e481780855d2d6469840d9ba853d91c6bb8c28 (patch)
treecc2058d41ea5fb6d6595d186183d7951b570e1ac /src/notes.cc
parent442d21a78026ec83de4495a78d8e36aa39fa95b6 (diff)
Replace usages of WIPE/C_WIPE with memset()
Diffstat (limited to 'src/notes.cc')
-rw-r--r--src/notes.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notes.cc b/src/notes.cc
index 3504f61c..5d999fa3 100644
--- a/src/notes.cc
+++ b/src/notes.cc
@@ -89,7 +89,7 @@ void add_note(char *note, char code)
char depths[32];
/* Get the first 60 chars - so do not have an overflow */
- C_WIPE(buf, 100, char);
+ memset(buf, 0, sizeof(buf));
strncpy(buf, note, 60);
/* Get date and time */