X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Futillib%2Fcitadel_ipc.c;h=f6dfa708b6ce51c357c2b7940cf27f39b8c0d88b;hb=0ced7a14d6d06ea2f13d190851994bac4c57ed04;hp=bfef117d5582d6a6ab3ff1912a37eafdcd968939;hpb=fb879f9dd1dda5368880e5d5ee51557b3c4d20b3;p=citadel.git diff --git a/citadel/utillib/citadel_ipc.c b/citadel/utillib/citadel_ipc.c index bfef117d5..f6dfa708b 100644 --- a/citadel/utillib/citadel_ipc.c +++ b/citadel/utillib/citadel_ipc.c @@ -3227,7 +3227,7 @@ CtdlIPC* CtdlIPC_new(int argc, char **argv, char *hostbuf, char *portbuf) /* If we're using a unix domain socket we can do a bunch of stuff */ if (!strcmp(cithost, UDS)) { if (!strcasecmp(citport, DEFAULT_PORT)) { - snprintf(sockpath, sizeof sockpath, file_citadel_socket); + snprintf(sockpath, sizeof sockpath, "%s", file_citadel_socket); } else { snprintf(sockpath, sizeof sockpath, "%s/%s", citport, "citadel.socket");