summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-10 16:37:18 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-10 16:54:48 +0100
commit5c1d499770f659854752e390e0c1e70579a3efb3 (patch)
tree312060a23cf5717f77cf60ea4ce7c4a91c55030e
parente7926d0b5b4738e43b0274171f5f5884248bd44b (diff)
downloadecon-5c1d499770f659854752e390e0c1e70579a3efb3.tar.gz
econ-5c1d499770f659854752e390e0c1e70579a3efb3.tar.bz2
econ-5c1d499770f659854752e390e0c1e70579a3efb3.zip
Add GPL3 copyright
-rw-r--r--econproxy.c18
-rw-r--r--econserv.c17
-rw-r--r--util.c17
-rw-r--r--util.h17
4 files changed, 68 insertions, 1 deletions
diff --git a/econproxy.c b/econproxy.c
index 81cf492..84281f1 100644
--- a/econproxy.c
+++ b/econproxy.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright © 2013 Benjamin Franzke
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -189,7 +206,6 @@ ep_get_clientinfo(struct ep *ep)
fprintf(stderr, "missing record in clientinfo\n");
return -1;
}
- printf("clientinfo: read cmd: %d\n", ep->ehdr.commandID);
printf("clientinfo unknown value: %hu\n",
ep->ecmd.command.clientinfo.unknown_field_1);
diff --git a/econserv.c b/econserv.c
index 3f7bb83..a667eac 100644
--- a/econserv.c
+++ b/econserv.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright © 2013 Benjamin Franzke
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#if 0
#define _POSIX_C_SOURCE 200112L
#define _BSD_SOURCE
diff --git a/util.c b/util.c
index 8a5813f..185eed1 100644
--- a/util.c
+++ b/util.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright © 2013 Benjamin Franzke
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#include <string.h>
#include <assert.h>
diff --git a/util.h b/util.h
index e033e21..c8981dc 100644
--- a/util.h
+++ b/util.h
@@ -1,3 +1,20 @@
+/*
+ * Copyright © 2013 Benjamin Franzke
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#ifndef _UTIL_H_
#define _UTIL_H_