Browse code

registrar(k): local send_reply() renamed

- new name reg_send_reply()
- symbol conflict with sl module version on darwinos

Daniel-Constantin Mierla authored on 29/07/2009 09:20:59
Showing 3 changed files
... ...
@@ -365,7 +365,7 @@ static int add_unsupported(struct sip_msg* _m, str* _p)
365 365
 /*! \brief
366 366
  * Send a reply
367 367
  */
368
-int send_reply(struct sip_msg* _m)
368
+int reg_send_reply(struct sip_msg* _m)
369 369
 {
370 370
 	str unsup = str_init(SUPPORTED_PATH_STR);
371 371
 	long code;
... ...
@@ -38,7 +38,7 @@
38 38
 /*! \brief
39 39
  * Send a reply
40 40
  */
41
-int send_reply(struct sip_msg* _m);
41
+int reg_send_reply(struct sip_msg* _m);
42 42
 
43 43
 
44 44
 /*! \brief
... ...
@@ -780,7 +780,7 @@ int save(struct sip_msg* _m, char* _d, char* _cflags)
780 780
 
781 781
 	update_stat(accepted_registrations, 1);
782 782
 	/* Only send reply upon request, not upon reply */
783
-	if ((route_type == REQUEST_ROUTE) && !is_cflag_set(REG_SAVE_NORPL_FL) && (send_reply(_m) < 0))
783
+	if ((route_type == REQUEST_ROUTE) && !is_cflag_set(REG_SAVE_NORPL_FL) && (reg_send_reply(_m) < 0))
784 784
 		return -1;
785 785
 
786 786
 	return ret;
... ...
@@ -788,7 +788,7 @@ error:
788 788
 	update_stat(rejected_registrations, 1);
789 789
 
790 790
 	if ((route_type == REQUEST_ROUTE) && !is_cflag_set(REG_SAVE_NORPL_FL) )
791
-		send_reply(_m);
791
+		reg_send_reply(_m);
792 792
 
793 793
 	return 0;
794 794
 }