[PATCH] ctdb: strip trailing spaces from nodes file lines

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Jun 26 13:46:16 MDT 2015


On Fri, Jun 26, 2015 at 05:26:04PM +0200, Michael Adam wrote:
> FYI: Volker pointed out to me that we have trim_string()
> which I might re-use. I am currently evaluating that,
> also looking for a function that can trim chars of
> a set and not a single char or whole string, but I have
> not yet found one. :)

strtok_r?

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list