aboutsummaryrefslogtreecommitdiffstats
path: root/src/db.c
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2009-02-22 20:33:09 +0000
committerHolger Freyther <zecke@selfish.org>2009-02-22 20:33:09 +0000
commit1ef983b076490d9430296022a9744907096c0671 (patch)
tree9d71f2ded64ae6f8b84171d830161ded73a47304 /src/db.c
parentc1697105cfd78c2f9e648b06fa54e82c4348c2d4 (diff)
[db] Print the type and id of the not found provider
Diffstat (limited to 'src/db.c')
-rw-r--r--src/db.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db.c b/src/db.c
index b538d5dd7..697979467 100644
--- a/src/db.c
+++ b/src/db.c
@@ -238,7 +238,8 @@ struct gsm_subscriber *db_get_subscriber(enum gsm_subscriber_field field, const
return NULL;
}
if (!dbi_result_next_row(result)) {
- printf("DB: Failed to find the Subscriber.\n");
+ printf("DB: Failed to find the Subscriber. '%u' '%s'\n",
+ field, id);
dbi_result_free(result);
return NULL;
}