projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
tests: honor EPIPE in kill(HUP) test
[awesomized/libmemcached]
/
libmemcachedprotocol
/
handler.c
diff --git
a/libmemcachedprotocol/handler.c
b/libmemcachedprotocol/handler.c
index 59b461f6aa083b286c8e6e619ab8382e352437f5..afd708652c245e9decb61be8ce9ba757c8b41703 100644
(file)
--- a/
libmemcachedprotocol/handler.c
+++ b/
libmemcachedprotocol/handler.c
@@
-46,6
+46,9
@@
#include <ctype.h>
#include <stdio.h>
#include <ctype.h>
#include <stdio.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+
/*
** **********************************************************************
** INTERNAL INTERFACE
/*
** **********************************************************************
** INTERNAL INTERFACE
@@
-318,6
+321,7
@@
struct memcached_protocol_st *memcached_protocol_create_instance(void)
{
free(ret->input_buffer);
free(ret);
{
free(ret->input_buffer);
free(ret);
+ ret= NULL;
}
}
}
}