Przeglądaj źródła

core/pvapi: allow newline in parse_pvname_list()

Alex Hermann 14 lat temu
rodzic
commit
b7376fe2ed
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pvapi.c

+ 1 - 1
pvapi.c

@@ -1097,7 +1097,7 @@ pvname_list_t* parse_pvname_list(str *in, unsigned int type)
 	p = in->s;
 	while(is_in_str(p, in))
 	{
-		while(is_in_str(p, in) && (*p==' '||*p=='\t'||*p==','||*p==';'))
+		while(is_in_str(p, in) && (*p==' '||*p=='\t'||*p==','||*p==';'||*p=='\n'))
 			p++;
 		if(!is_in_str(p, in))
 		{