summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Porzelt <tp@cryosphere.de>2009-09-10 23:45:34 +0200
committerThomas Porzelt <tp@cryosphere.de>2009-09-10 23:45:34 +0200
commitdd6f9d16ad107c792c8f519716b3035192f4a3d0 (patch)
tree539ea167b7311020318fe60c35e410455515946f
parenta5fc82bc7017e41a153b997fecabd6d28fb440df (diff)
downloadweighttp-dd6f9d16ad107c792c8f519716b3035192f4a3d0.tar.gz
weighttp-dd6f9d16ad107c792c8f519716b3035192f4a3d0.zip
add newlines at end of files
-rw-r--r--COPYING1
-rw-r--r--README2
-rw-r--r--TODO2
-rw-r--r--src/client.c2
-rw-r--r--src/client.h2
-rw-r--r--src/weighttp.c2
-rw-r--r--src/worker.c2
-rw-r--r--src/worker.h2
-rw-r--r--wscript1
9 files changed, 7 insertions, 9 deletions
diff --git a/COPYING b/COPYING
index 01daff8..149ffdf 100644
--- a/COPYING
+++ b/COPYING
@@ -20,4 +20,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-
diff --git a/README b/README
index e116e9e..6584696 100644
--- a/README
+++ b/README
@@ -43,4 +43,4 @@ $ ./waf configure clean build install
----
-* libev can be found in your distro's repository or at http://software.schmorp.de/pkg/libev.html \ No newline at end of file
+* libev can be found in your distro's repository or at http://software.schmorp.de/pkg/libev.html
diff --git a/TODO b/TODO
index 84d08a3..ced926e 100644
--- a/TODO
+++ b/TODO
@@ -3,4 +3,4 @@
- chunked encoding support
- ssl support
- better error reporting
-- ipv6 support \ No newline at end of file
+- ipv6 support
diff --git a/src/client.c b/src/client.c
index 864013a..c58f650 100644
--- a/src/client.c
+++ b/src/client.c
@@ -385,4 +385,4 @@ static uint8_t client_parse(Client *client) {
}
return 1;
-} \ No newline at end of file
+}
diff --git a/src/client.h b/src/client.h
index 4b83b13..29c37b0 100644
--- a/src/client.h
+++ b/src/client.h
@@ -43,4 +43,4 @@ struct Client {
Client *client_new(Worker *worker);
void client_free(Client *client);
-void client_state_machine(Client *client); \ No newline at end of file
+void client_state_machine(Client *client);
diff --git a/src/weighttp.c b/src/weighttp.c
index 8b8eb77..c9c2800 100644
--- a/src/weighttp.c
+++ b/src/weighttp.c
@@ -339,4 +339,4 @@ int main(int argc, char *argv[]) {
freeaddrinfo(config.saddr);
return 0;
-} \ No newline at end of file
+}
diff --git a/src/worker.c b/src/worker.c
index 255deeb..3f6fb9c 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -55,4 +55,4 @@ void *worker_thread(void* arg) {
ev_loop_destroy(worker->loop);
return NULL;
-} \ No newline at end of file
+}
diff --git a/src/worker.h b/src/worker.h
index add16ba..a62cc32 100644
--- a/src/worker.h
+++ b/src/worker.h
@@ -37,4 +37,4 @@ struct Worker {
Worker *worker_new(uint8_t id, Config *config, uint16_t num_clients, uint64_t num_requests);
void worker_free(Worker *worker);
-void *worker_thread(void* arg); \ No newline at end of file
+void *worker_thread(void* arg);
diff --git a/wscript b/wscript
index 0f8f268..02a5270 100644
--- a/wscript
+++ b/wscript
@@ -67,4 +67,3 @@ def build(bld):
uselib = 'ev pthread',
target = 'weighttp'
)
-