diff options
author | Martin Pycko <martinp@digium.com> | 2003-08-13 03:34:44 +0000 |
---|---|---|
committer | Martin Pycko <martinp@digium.com> | 2003-08-13 03:34:44 +0000 |
commit | 6d59eee9e32dc53ec8e3c58451d360ba9c3567fe (patch) | |
tree | ec92ae0224f5c0769ad5938c6a0baa29fb971e0b | |
parent | c03290215994a5e445f616f8e9e8ff7fcb864c3f (diff) |
Get the printf of the value returned length out
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | db.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -160,7 +160,9 @@ int ast_db_get(const char *family, const char *keys, char *value, int valuelen) value[0] = 0; ast_log(LOG_DEBUG, "Unable to find key '%s' in family '%s'\n", keys, family); } else { +#if 0 printf("Got value of size %d\n", data.size); +#endif if (data.size) { ((char *)data.data)[data.size - 1] = '\0'; strncpy(value, data.data, valuelen - 1); |