mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:31:58 +01:00
src: compile fix
Change-Id: I8533038df7c81dcd9bcce576e24c8c4ee507999c Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
parent
b8cfd4ffcb
commit
6126573e93
@ -115,7 +115,7 @@ static void test_mydomains(struct __config *cfg){
|
||||
int main(){
|
||||
struct __config cfg;
|
||||
|
||||
if(!can_i_write_current_directory()) __fatal("cannot write current directory!");
|
||||
if(!can_i_write_directory(NULL)) __fatal("cannot write current directory!");
|
||||
|
||||
(void) openlog("mydomains_test", LOG_PID, LOG_MAIL);
|
||||
|
||||
|
@ -104,7 +104,7 @@ int main(){
|
||||
|
||||
struct __config cfg;
|
||||
|
||||
if(!can_i_write_current_directory()) __fatal("cannot write current directory!");
|
||||
if(!can_i_write_directory(NULL)) __fatal("cannot write current directory!");
|
||||
|
||||
(void) openlog("mydomains_test", LOG_PID, LOG_MAIL);
|
||||
|
||||
|
@ -158,7 +158,7 @@ static void test_archiving_rule(struct __config *cfg){
|
||||
int main(){
|
||||
struct __config cfg;
|
||||
|
||||
if(!can_i_write_current_directory()) __fatal("cannot write current directory!");
|
||||
if(!can_i_write_directory(NULL)) __fatal("cannot write current directory!");
|
||||
|
||||
(void) openlog("rule_test", LOG_PID, LOG_MAIL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user