Committing changes from `src/daemon'
This commit is contained in:
@@ -198,7 +198,7 @@ filename_expand (char *fullpath, char *filename)
|
|||||||
/* Encase the string in quotes, escape all the backslashes and quotes
|
/* Encase the string in quotes, escape all the backslashes and quotes
|
||||||
in string. */
|
in string. */
|
||||||
static char *
|
static char *
|
||||||
clean_string (CONST char *s)
|
clean_string (const char *s)
|
||||||
{
|
{
|
||||||
int i = 0;
|
int i = 0;
|
||||||
char *p, *res;
|
char *p, *res;
|
||||||
@@ -256,7 +256,7 @@ clean_string (CONST char *s)
|
|||||||
|
|
||||||
/* A strdup immitation. */
|
/* A strdup immitation. */
|
||||||
static char *
|
static char *
|
||||||
my_strdup (CONST char *s)
|
my_strdup (const char *s)
|
||||||
{
|
{
|
||||||
char *new = malloc (strlen (s) + 1);
|
char *new = malloc (strlen (s) + 1);
|
||||||
if (new)
|
if (new)
|
||||||
|
|||||||
Reference in New Issue
Block a user