[sr-dev] git:master:f7ed7d28: dialog: added end labels needed by dlg_db_load_callid()

Daniel-Constantin Mierla miconda at gmail.com
Wed Apr 4 08:49:58 CEST 2018


Module: kamailio
Branch: master
Commit: f7ed7d289978490f374f4f3eea52e91dccc3752f
URL: https://github.com/kamailio/kamailio/commit/f7ed7d289978490f374f4f3eea52e91dccc3752f

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-04-04T08:47:25+02:00

dialog: added end labels needed by dlg_db_load_callid()

- they were removed by commit 27c23f57f70936e557d9566e6122958c2e032970
not being used after a previous commit, but meanwhile this function was
developed

---

Modified: src/modules/dialog/dlg_db_handler.c

---

Diff:  https://github.com/kamailio/kamailio/commit/f7ed7d289978490f374f4f3eea52e91dccc3752f.diff
Patch: https://github.com/kamailio/kamailio/commit/f7ed7d289978490f374f4f3eea52e91dccc3752f.patch

---

diff --git a/src/modules/dialog/dlg_db_handler.c b/src/modules/dialog/dlg_db_handler.c
index ecacb1c43e..0a902952c3 100644
--- a/src/modules/dialog/dlg_db_handler.c
+++ b/src/modules/dialog/dlg_db_handler.c
@@ -503,6 +503,7 @@ int load_dialog_info_from_db(int dlg_hash_size, int fetch_num_rows,
 		}
 	}
 
+end:
 	dialog_dbf.free_result(dialog_db_handle, res);
 	return 0;
 error:
@@ -634,6 +635,7 @@ static int load_dialog_vars_from_db(int fetch_num_rows, int mode,
 		}
 	}
 
+end:
 	dialog_dbf.free_result(dialog_db_handle, res);
 	return 0;
 error:




More information about the sr-dev mailing list