summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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_