From 706773584e3cc49a3027b892bceaacee6d68fa38 Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Mon, 5 Apr 2004 21:00:36 +0000 Subject: [PATCH] Mon Apr 5 17:12:06 2004 Michael Jennings (mej) Fixed bug in loading print_pipe attribute pointed out by Tom A. Cox . SVN revision: 9612 --- ChangeLog | 5 +++++ src/options.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a1fde20..9c64dfb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5198,3 +5198,8 @@ Thu Mar 11 11:55:45 2004 Michael Jennings (mej) Fix "make distcheck" ---------------------------------------------------------------------- +Mon Apr 5 17:12:06 2004 Michael Jennings (mej) + +Fixed bug in loading print_pipe attribute pointed out by Tom A. Cox +. +---------------------------------------------------------------------- diff --git a/src/options.c b/src/options.c index d65cfea..29430ab 100644 --- a/src/options.c +++ b/src/options.c @@ -1441,8 +1441,7 @@ parse_misc(char *buff, void *state) } if (!BEG_STRCASECMP(buff, "print_pipe ")) { #ifdef PRINTPIPE - RESET_AND_ASSIGN(rs_print_pipe, STRDUP(get_pword(2, buff))); - chomp(rs_print_pipe); + RESET_AND_ASSIGN(rs_print_pipe, get_word(2, buff)); #else print_warning("Support for the print_pipe attribute was not compiled in, ignoring\n"); #endif