From mboxrd@z Thu Jan 1 00:00:00 1970 From: teigland@sourceware.org Date: 3 Jul 2007 17:46:55 -0000 Subject: [Cluster-devel] cluster/dlm/tool main.c Message-ID: <20070703174655.4681.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL4 Changes by: teigland at sourceware.org 2007-07-03 17:46:55 Modified files: dlm/tool : main.c Log message: The previous change resulted in double quotes around the name; change the name parsing routine to not put quotes in the name string. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/tool/main.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.3.2.3&r2=1.3.2.4 --- cluster/dlm/tool/main.c 2007/07/03 15:59:27 1.3.2.3 +++ cluster/dlm/tool/main.c 2007/07/03 17:46:55 1.3.2.4 @@ -222,11 +222,10 @@ for (p = line; ; p++) { if (*p == '"') { - if (begin) { - name[i++] = *p; + if (begin) break; - } begin = 1; + continue; } if (begin) name[i++] = *p;