1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-24 20:48:01 +00:00

Minor bug fixes.

- set HAVE_MYSQL macro when MariaDB is used.
- fix a crash bug when wrong database is configured.
This commit is contained in:
Jonathan Xu
2019-08-07 19:29:08 +08:00
parent bb33ea7741
commit a300c1277a
3 changed files with 7 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ static void usage ()
#define SEAFILE_RPC_PIPE_NAME "seafile.sock"
static void start_rpc_service (char *seafile_dir)
static void start_rpc_service (const char *seafile_dir)
{
SearpcNamedPipeServer *rpc_server = NULL;
char *pipe_path = NULL;