cgfsng: copy_to_eol()

parent 798c3b33
......@@ -996,10 +996,7 @@ static char *cg_hybrid_get_mountpoint(char *line)
return sret;
}
/*
* Given a multi-line string, return a null-terminated copy of the
* current line.
*/
/* Given a multi-line string, return a null-terminated copy of the current line. */
static char *copy_to_eol(char *p)
{
char *p2 = strchr(p, '\n'), *sret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment