perhaps we should:

```c
rc = sp_get(sphia->db, key, size, &value, &vsize);

if (1 == rc) {
  if ('\0' != value[vsize]) value[vsize] = '\0';
  return value;
}

return NULL;
```