You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
549 B
13 lines
549 B
diff -ur localshell-1.3.1.orig/src/config.cxx localshell-1.3.1/src/config.cxx
|
|
--- localshell-1.3.1.orig/src/config.cxx 2009-01-09 03:40:11.000000000 +0200
|
|
+++ localshell-1.3.1/src/config.cxx 2009-08-09 18:15:17.000000000 +0300
|
|
@@ -121,7 +121,7 @@
|
|
// PRIORITY,SHELL,ALLOWED
|
|
long priority = atol(argvalue);
|
|
|
|
- char* shell = strstr(argvalue,",");
|
|
+ char* shell = const_cast<char*> (strstr(argvalue,","));
|
|
if(NULL == shell || '\0' == shell[1] ) {
|
|
fprintf(stderr,"%s: badly formatted entry (shell):%s\n",PACKAGE,argvalue);
|
|
return EINVAL;
|