From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Mon, 27 Aug 2012 21:57:54 -0400 To: 9fans@9fans.net Message-ID: <5141f2352ebb76d06d6d13b19fe5e814@brasstown.quanstro.net> In-Reply-To: <806339976624fc730c3d8ca5cad22d81@rei2.9hal> References: <806339976624fc730c3d8ca5cad22d81@rei2.9hal> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] dns Topicbox-Message-UUID: afddd058-ead7-11e9-9d60-3106f5b1d025 if (ds->dir) { > strncpy(ds->dir, conn->dir, NETPATHLEN); > ds->dir[NETPATHLEN] = '\0'; i think this is okay, since the definition is char dir[NETPATHLEN+1]; - erik