now using Makefile

This commit is contained in:
socec 2014-03-09 15:59:30 +01:00
parent 9c6269218e
commit cbedf6189a
6 changed files with 48 additions and 18 deletions

View file

@ -52,7 +52,7 @@ int client_write(struct client_t *client, char *databuf, int datalen) {
//TODO let's print received bytes during development phase...
{
int i;
for(i = 0; i < len; i++) {
for(i = 0; i < datalen; i++) {
fprintf(stderr, "client %s -> %u '%c'\n",
client->ip_string,
(unsigned char) databuf[i],