summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/socket_wrapper/socket_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/socket_wrapper/socket_wrapper.c b/source4/lib/socket_wrapper/socket_wrapper.c
index 1c3d5c3bfc..d95806783d 100644
--- a/source4/lib/socket_wrapper/socket_wrapper.c
+++ b/source4/lib/socket_wrapper/socket_wrapper.c
@@ -63,7 +63,7 @@
with this format we have 8 chars left for the directory name
*/
-#define SOCKET_FORMAT "%u_%u"
+#define SOCKET_FORMAT "%u_%05u"
static struct sockaddr *sockaddr_dup(const void *data, socklen_t len)
{