Commit 3a263271 authored by COULAUD Olivier's avatar COULAUD Olivier
Browse files

Merge branch 'master' of git+ssh://

# By Luka Stanisic
# Via Luka Stanisic
* 'master' of git+ssh://
  minor fix of the memcpy function call
parents e89c3b8b c810b29a
......@@ -43,7 +43,7 @@ public:
const char* add(const char* strToCpy){
const size_t length = strlen(strToCpy);
char* cpy = new char[length+1];
memcpy(cpy, length, strToCpy, length);
memcpy(cpy, strToCpy, length);
cpy[length] = '\0';
return cpy;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment