Skip to content

Instantly share code, notes, and snippets.

@kamipo
Created May 30, 2011 16:42
Show Gist options
  • Save kamipo/999137 to your computer and use it in GitHub Desktop.
Save kamipo/999137 to your computer and use it in GitHub Desktop.
memcached-1.4.5.diff
diff -ubNr memcached-1.4.5.org/memcached.c memcached-1.4.5/memcached.c
--- memcached-1.4.5.org/memcached.c 2010-04-04 04:51:29.000000000 +0900
+++ memcached-1.4.5/memcached.c 2011-05-31 01:41:21.000000000 +0900
@@ -4626,7 +4626,7 @@
}
/* create the listening socket, bind it, and init */
- if (settings.socketpath == NULL) {
+ if (1) {
int udp_port;
const char *portnumber_filename = getenv("MEMCACHED_PORT_FILENAME");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment