printMsg(lvlError, ...) -> printError(...) etc.
This commit is contained in:
		
							parent
							
								
									4036185cb4
								
							
						
					
					
						commit
						c55bf085eb
					
				
					 30 changed files with 140 additions and 140 deletions
				
			
		|  | @ -10,11 +10,11 @@ namespace nix { | |||
|     int err = sqlite3_errcode(db); | ||||
|     if (err == SQLITE_BUSY || err == SQLITE_PROTOCOL) { | ||||
|         if (err == SQLITE_PROTOCOL) | ||||
|             printMsg(lvlError, "warning: SQLite database is busy (SQLITE_PROTOCOL)"); | ||||
|             printError("warning: SQLite database is busy (SQLITE_PROTOCOL)"); | ||||
|         else { | ||||
|             static bool warned = false; | ||||
|             if (!warned) { | ||||
|                 printMsg(lvlError, "warning: SQLite database is busy"); | ||||
|                 printError("warning: SQLite database is busy"); | ||||
|                 warned = true; | ||||
|             } | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue