projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace asprintf() by xasprintf().
[tinc]
/
src
/
process.c
diff --git
a/src/process.c
b/src/process.c
index
4e77953
..
28bba02
100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-1,7
+1,7
@@
/*
process.c -- process management functions
Copyright (C) 1999-2005 Ivo Timmermans,
/*
process.c -- process management functions
Copyright (C) 1999-2005 Ivo Timmermans,
- 2000-200
6
Guus Sliepen <guus@tinc-vpn.org>
+ 2000-200
7
Guus Sliepen <guus@tinc-vpn.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-371,9
+371,9
@@
bool execute_script(const char *name, char **envp)
cp();
#ifndef HAVE_MINGW
cp();
#ifndef HAVE_MINGW
- len = asprintf(&scriptname, "\"%s/%s\"", confbase, name);
+ len =
x
asprintf(&scriptname, "\"%s/%s\"", confbase, name);
#else
#else
- len = asprintf(&scriptname, "\"%s/%s.bat\"", confbase, name);
+ len =
x
asprintf(&scriptname, "\"%s/%s.bat\"", confbase, name);
#endif
if(len < 0)
return false;
#endif
if(len < 0)
return false;