mirror of
https://github.com/znc/znc.git
synced 2026-06-11 17:25:04 +02:00
fix initialization for execvp to const type
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@741 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -342,7 +342,7 @@ int CExecSock::popen2(int & iReadFD, int & iWriteFD, const CString & sCommand) {
|
||||
dup2(rpipes[1], 2);
|
||||
close(wpipes[0]);
|
||||
close(rpipes[1]);
|
||||
char *pArgv[] =
|
||||
char * const pArgv[] =
|
||||
{
|
||||
"sh",
|
||||
"-c",
|
||||
|
||||
Reference in New Issue
Block a user