|
@@ -507,7 +507,7 @@ static int ki_rabbitmq_publish_consume(sip_msg_t *msg, str *exchange,
|
|
|
|
|
|
dst = pv_cache_get(dpv);
|
|
dst = pv_cache_get(dpv);
|
|
|
|
|
|
- if(dpv==NULL) {
|
|
|
|
|
|
+ if(dst==NULL) {
|
|
LM_ERR("failed getting pv: %.*s\n", dpv->len, dpv->s);
|
|
LM_ERR("failed getting pv: %.*s\n", dpv->len, dpv->s);
|
|
return -1;
|
|
return -1;
|
|
}
|
|
}
|
|
@@ -669,4 +669,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
|
|
{
|
|
{
|
|
sr_kemi_modules_add(sr_kemi_rabbitmq_exports);
|
|
sr_kemi_modules_add(sr_kemi_rabbitmq_exports);
|
|
return 0;
|
|
return 0;
|
|
-}
|
|
|
|
|
|
+}
|