about summary refs log tree commit diff
path: root/src/engine/e_network.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/e_network.c')
-rw-r--r--src/engine/e_network.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/e_network.c b/src/engine/e_network.c
index 2eef9006..1e320293 100644
--- a/src/engine/e_network.c
+++ b/src/engine/e_network.c
@@ -1,8 +1,8 @@
 /* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
-#include <string.h>
-#include <stdio.h>
+#include <base/system.h>
+
+#include <string.h> /* strlen */
 
-#include "e_system.h"
 #include "e_config.h"
 #include "e_network.h"
 #include "e_huffman.h"
@@ -134,9 +134,9 @@ static void rb_pop_first(RINGBUFFER *rb)
 		mem_free(rb->first);
 		rb->first = next;
 		if(rb->first)
-			rb->first->prev = NULL;
+			rb->first->prev = (void*)0;
 		else
-			rb->last = NULL;
+			rb->last = (void*)0;
 	}
 }