daemon: Add a trim utility function.
authorRichard Jones <rjones@redhat.com>
Thu, 18 Mar 2010 13:46:26 +0000 (13:46 +0000)
committerRichard Jones <rjones@redhat.com>
Thu, 18 Mar 2010 15:21:04 +0000 (15:21 +0000)
commit27e73269d384814eb5f76468f609f7844cb75b0b
treeb336ea3b156f67d9676d0707ee5b781919e81003
parent676462684e05dd8341dd695762dd99a87d8ec022
daemon: Add a trim utility function.

This function trims the whitespace from around a string.  It
does this in-place, so it can be called for malloc'd strings.
daemon/daemon.h
daemon/guestfsd.c