* SUCH DAMAGE.
*
*
- * $Id: opts.c,v 1.39 2005/04/17 03:05:54 ezk Exp $
+ * $Id: opts.c,v 1.40 2005/07/19 00:06:13 ezk Exp $
*
*/
*/
{
int len = dp - cp;
-
+
if (len > 0) {
- if (BUFSPACE(ep, len)) {
- /*
- * We use strncpy (not xstrlen) because 'ep' relies on it's symantics.
- * BUFSPACE guarantees that ep can hold len.
+ if (BUFSPACE(ep, len)) {
+ /*
+ * We use strncpy (not xstrlen) because 'ep' relies on it's
+ * symantics. BUFSPACE guarantees that ep can hold len.
*/
strncpy(ep, cp, len);
ep += len;
*/
strncpy(nbuf, cp, len);
nbuf[len] = '\0';
-
+
/*
* Advance cp
*/