[Pkg-voip-commits] r9598 - in /kamailio/trunk/debian: changelog patches/upstream/0005-modules_k-dialog-fix-dlg_var-return-value-in-case-of.patch
maniac-guest at alioth.debian.org
maniac-guest at alioth.debian.org
Tue Mar 20 13:57:03 UTC 2012
Author: maniac-guest
Date: Tue Mar 20 13:56:58 2012
New Revision: 9598
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9598
Log:
add upstream fix
Added:
kamailio/trunk/debian/patches/upstream/0005-modules_k-dialog-fix-dlg_var-return-value-in-case-of.patch
Modified:
kamailio/trunk/debian/changelog
Modified: kamailio/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/kamailio/trunk/debian/changelog?rev=9598&op=diff
==============================================================================
--- kamailio/trunk/debian/changelog (original)
+++ kamailio/trunk/debian/changelog Tue Mar 20 13:56:58 2012
@@ -24,7 +24,7 @@
* debian/copyright
+ using copyright-format/1.0/
- -- Victor Seva <linuxmaniac at torreviejawireless.org> Tue, 28 Feb 2012 09:36:19 +0100
+ -- Victor Seva <linuxmaniac at torreviejawireless.org> Tue, 20 Mar 2012 14:56:09 +0100
kamailio (1.5.1-2) unstable; urgency=low
Added: kamailio/trunk/debian/patches/upstream/0005-modules_k-dialog-fix-dlg_var-return-value-in-case-of.patch
URL: http://svn.debian.org/wsvn/pkg-voip/kamailio/trunk/debian/patches/upstream/0005-modules_k-dialog-fix-dlg_var-return-value-in-case-of.patch?rev=9598&op=file
==============================================================================
--- kamailio/trunk/debian/patches/upstream/0005-modules_k-dialog-fix-dlg_var-return-value-in-case-of.patch (added)
+++ kamailio/trunk/debian/patches/upstream/0005-modules_k-dialog-fix-dlg_var-return-value-in-case-of.patch Tue Mar 20 13:56:58 2012
@@ -1,0 +1,28 @@
+From 29fec623839ece4e4521995b5cd9fbf1d1c0ae5c Mon Sep 17 00:00:00 2001
+From: Sven Knoblich <sven.knoblich at 1und1.de>
+Date: Fri, 16 Mar 2012 10:40:56 +0100
+Subject: [PATCH] modules_k/dialog: fix dlg_var return-value in case of an
+ empty result. - replace 0 with pv_get_null(...) (cherry
+ picked from commit
+ eec1c60cb518aa2d37216fb00ef4a2910623c53e)
+
+---
+ modules_k/dialog/dlg_var.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/modules_k/dialog/dlg_var.c b/modules_k/dialog/dlg_var.c
+index 31afc10..ac0bdf9 100644
+--- a/modules_k/dialog/dlg_var.c
++++ b/modules_k/dialog/dlg_var.c
+@@ -306,7 +306,7 @@ int pv_get_dlg_variable(struct sip_msg *msg, pv_param_t *param, pv_value_t *res)
+ return pv_get_strval(msg, param, res, value);
+
+
+- return 0;
++ return pv_get_null(msg, param, res);
+ }
+
+ int pv_set_dlg_variable(struct sip_msg* msg, pv_param_t *param, int op, pv_value_t *val)
+--
+1.7.5.4
+
More information about the Pkg-voip-commits
mailing list