Last commit with db. Switching to makdown articles representation

This commit is contained in:
2020-07-03 11:22:41 +05:00
parent db9b46f041
commit 68d1c8211c
24 changed files with 427 additions and 96 deletions

View File

@ -17,15 +17,13 @@ void err_msg(char *msg)
* @param str2
* @return char*
*/
char *add_to_front(char **str1, char *str2)
char *concat_to_front(char **str1, char *str2)
{
char *tmp = strdup(*str1);
strcpy(*str1, str2);
strcat(*str1, tmp);
// free(tmp);
return *str1;
}