Skip to content

Commit cdea6f2

Browse files
Merge branch '0.0.5' of github.com:LarryLaffer-dev/opensips into 0.0.5
2 parents 5a41e74 + 81d6625 commit cdea6f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/auth_aka/aka_av_mgm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ struct aka_av *aka_cdb_fetch_av(str *impu, str *impi, str *nonce)
305305
{FILE *_df = fopen("/tmp/debug.log", "a"); if(_df){fprintf(_df, "{\"hypothesisId\":\"H4\",\"location\":\"aka_av_mgm.c:aka_cdb_fetch_av\",\"message\":\"cdb_get_result\",\"data\":{\"get_ret\":%d,\"value_s\":\"%p\",\"value_len\":%d,\"key\":\"%.*s\"}}\n", get_ret, (void*)value.s, value.len, key.len, key.s); fclose(_df);}}
306306
// #endregion
307307

308-
if (get_ret <= 0 || value.s == NULL) {
308+
if (get_ret < 0 || value.s == NULL) {
309309
LM_DBG("AV not found in cachedb for key=%.*s\n", key.len, key.s);
310310
pkg_free(key.s);
311311
return NULL;

0 commit comments

Comments
 (0)