summaryrefslogtreecommitdiff
path: root/cmd_cookie.c
blob: 8071e103310495dd27b1dc4e7c3c29e0e30191bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "cmd_cookie.h"

void *cmd_cookie(void *data)
{
	char *param = (char *)data;
	char *ret = NULL;

	const int buf_size = 128;
	char buf[buf_size+1];

	printf("COOKIE\n");


	snprintf(buf, buf_size, "No heroes yet\n");
	ret = alloc_new_str(buf);
	

	return ret;
}