2012-09-12 [colin] 3.8.1cvs52
[claws.git] / src / mutt.c
index 08d9d89fce285ace8b694868eda35fb734fc2783..4e51af1c530018ca9eb1f056c361335017b7df02 100644 (file)
@@ -212,9 +212,9 @@ static GSList *mutt_parse_rcplist( gchar *rcpList, gint *addrCount ) {
        list = NULL;
        cnt = 0;
        pStart = rcpList;
-       while( *pStart ) {
+       while( pStart && *pStart ) {
                ptr = pStart;
-               address = name = NULL;
+               address = NULL;
                pName = pAddr = NULL;
                /* Chew up spaces */
                while( *ptr ) {