zap extra space

This commit is contained in:
okan 2013-04-17 13:31:47 +00:00
parent 373f1ddf90
commit fbc1e7edbd

View File

@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
* *
* $OpenBSD: conf.c,v 1.122 2013/04/17 13:30:38 okan Exp $ * $OpenBSD: conf.c,v 1.123 2013/04/17 13:31:47 okan Exp $
*/ */
#include <sys/param.h> #include <sys/param.h>
@ -39,7 +39,6 @@ void
conf_cmd_add(struct conf *c, char *image, char *label) conf_cmd_add(struct conf *c, char *image, char *label)
{ {
/* "term" and "lock" have special meanings. */ /* "term" and "lock" have special meanings. */
if (strcmp(label, "term") == 0) if (strcmp(label, "term") == 0)
(void)strlcpy(c->termpath, image, sizeof(c->termpath)); (void)strlcpy(c->termpath, image, sizeof(c->termpath));
else if (strcmp(label, "lock") == 0) else if (strcmp(label, "lock") == 0)