Changeset 8e5751e for protocols


Ignore:
Timestamp:
2015-07-29T23:10:58Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Children:
ee8307c
Parents:
69b94c3
Message:

Add RPC plugin directory to configure script instead of defaulting to
/tmp/rpcplugins.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/rpc/rpc.c

    r69b94c3 r8e5751e  
    979979}
    980980
    981 #define PDIR "/tmp/rpcplugins"
    982 
    983981/* YA RLY :-/ */
    984982#ifndef UNIX_PATH_MAX
     
    988986
    989987void rpc_initmodule() {
    990         DIR *pdir = opendir(PDIR);
     988        DIR *pdir = opendir(RPCPLUGINDIR);
    991989        struct dirent *de;
    992990
     
    998996                        continue;
    999997
    1000                 char *fn = g_build_filename(PDIR, de->d_name, NULL);
     998                char *fn = g_build_filename(RPCPLUGINDIR, de->d_name, NULL);
    1001999                struct sockaddr_un su;
    10021000
Note: See TracChangeset for help on using the changeset viewer.