Come to think of it, the following patch looks more sensible to me.

diff --git a/lib/name.c b/lib/name.c
index 94a225c..1f51828 100644
--- a/lib/name.c
+++ b/lib/name.c
@@ -185,6 +185,7 @@ name_comma( char *p, newstr *outname )
 
        /** Last name **/
        start_last = skip_ws( p );
+       end_last = start_last;
        while ( *p && ( *p!=',' ) ) {
                newstr_addchar( outname, *p++ );
                end_last = p;






-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to