*** empty log message ***

svn path=/trunk/boinc/; revision=2156
This commit is contained in:
David Anderson 2003-08-20 00:04:44 +00:00
parent ebb52e62d5
commit 5ffa2048f7
1 changed files with 2 additions and 0 deletions

View File

@ -221,6 +221,8 @@ int boinc_db_insert_id() {
void boinc_db_print_error(char* p) { void boinc_db_print_error(char* p) {
if (mysql) { if (mysql) {
fprintf(stderr, "%s: Database error: %s\n", p, mysql_error(mysql)); fprintf(stderr, "%s: Database error: %s\n", p, mysql_error(mysql));
} else {
fprintf(stderr, "%s: Database error\n", p);
} }
} }