- fixed small but critical bug introduced with yesterday fix (related to path
authorBogdan-Andrei Iancu <bogdan@voice-system.ro>
Tue, 4 Jul 2006 10:58:32 +0000 (10:58 +0000)
committerBogdan-Andrei Iancu <bogdan@voice-system.ro>
Tue, 4 Jul 2006 10:58:32 +0000 (10:58 +0000)
  support).
  Many thanks go to Raymond Chen <rchen@broadz.com> for testing and helping
  with the debug.

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@956 689a6050-402a-0410-94f2-e92a70836424

modules_k/registrar/save.c

index af945a1..997da47 100644 (file)
@@ -229,11 +229,11 @@ static inline ucontact_info_t* pack_ci( struct sip_msg* _m, contact_t* _c,
        static str no_ua = str_init("n/a");
        static str callid;
        static str path_received = {0,0};
+       static str path;
        static str received = {0,0};
        static int received_found;
        static unsigned int allowed, allow_parsed;
        static struct sip_msg *m = 0;
-       str path;
        int_str val;
 
        if (_m!=0) {