Merge "extracting project name from uri" into dev
diff --git a/src/log.c b/src/log.c
index 2cd65bc..f785b45 100644
--- a/src/log.c
+++ b/src/log.c
@@ -635,7 +635,7 @@
}
}
tmp[len] = '\0';
- snprintf(alertcmd, 1024, "echo \"%s\" | mail -s \"$(echo -e \"[HAProxy alert %s] %.32s...\nFrom:HAProxy <%s>\n\")\" %s&", buf, global.email_from, buf, global.email_from, tmp);
+ snprintf(alertcmd, 1024, "echo \"%s\" | mail -s \"$(echo -e \"[HAProxy alert %s] %.40s...\nFrom:HAProxy <%s>\n\")\" %s&", buf, global.email_from, buf, global.email_from, tmp);
sysreturn = system(alertcmd);
if (sysreturn == -1) {