sync state reader:
- grok negative uids - more robust
This commit is contained in:
		
							parent
							
								
									963f607c81
								
							
						
					
					
						commit
						924e1a7f04
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -341,7 +341,10 @@ sub showchan() | |||
| 	print " [ $1, $2, $3,\n   "; | ||||
| 	my $frst = 1; | ||||
| 	for (<FILE>) { | ||||
| 		/^(\d+) (\d+) (.*)\n$/; | ||||
| 		if (!/^(-?\d+) (-?\d+) (.*)\n$/) { | ||||
| 			print STDERR "Malformed sync state entry '$_'.\n"; | ||||
| 			next; | ||||
| 		} | ||||
| 		if ($frst) { | ||||
| 			$frst = 0; | ||||
| 		} else { | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue