Browse code

ims_registrar_scscf: formatting change for a few really long lines

Henning Westerholt authored on 07/11/2019 17:25:36
Showing 1 changed files
... ...
@@ -340,7 +340,8 @@ int can_subscribe_to_reg(struct sip_msg *msg, char *_t, char *str2) {
340 340
     } else {
341 341
         presentity_uri = ul.get_presentity_from_subscriber_dialog(&callid, &ttag, &ftag);
342 342
         if (presentity_uri.len == 0) {
343
-            LM_ERR("Unable to get presentity uri from subscriber dialog with callid <%.*s>, ttag <%.*s> and ftag <%.*s>\n", callid.len, callid.s, ttag.len, ttag.s, ftag.len, ftag.s);
343
+            LM_ERR("Unable to get presentity uri from subscriber dialog with callid <%.*s>, ttag <%.*s> and ftag <%.*s>\n",
344
+                callid.len, callid.s, ttag.len, ttag.s, ftag.len, ftag.s);
344 345
             goto done;
345 346
         }
346 347
     }
... ...
@@ -1078,7 +1079,8 @@ int subscribe_to_reg(struct sip_msg *msg, char *_t, char *str2) {
1078 1078
         //cscf_get_to_uri(msg, &presentity_uri);
1079 1079
         presentity_uri = ul.get_presentity_from_subscriber_dialog(&callid, &ttag, &ftag);
1080 1080
         if (presentity_uri.len == 0) {
1081
-            LM_ERR("Unable to get presentity uri from subscriber dialog with callid <%.*s>, ttag <%.*s> and ftag <%.*s>\n", callid.len, callid.s, ttag.len, ttag.s, ftag.len, ftag.s);
1081
+            LM_ERR("Unable to get presentity uri from subscriber dialog with callid <%.*s>, ttag <%.*s> and ftag <%.*s>\n",
1082
+                callid.len, callid.s, ttag.len, ttag.s, ftag.len, ftag.s);
1082 1083
             ret = CSCF_RETURN_FALSE;
1083 1084
             goto doneorerror;
1084 1085
         }
... ...
@@ -1360,7 +1362,8 @@ int contact_port_ip_match(str *c1, str *c2) {
1360 1360
     str ip_port1, ip_port2;
1361 1361
     aor_to_contact(c1, &ip_port1); //strip userpart from test contact
1362 1362
     aor_to_contact(c2, &ip_port2); //strip userpart from test contact
1363
-    LM_DBG("Matching contact using only port and ip - comparing [%.*s] and [%.*s]\n", ip_port1.len, ip_port1.s, ip_port2.len, ip_port2.s);
1363
+    LM_DBG("Matching contact using only port and ip - comparing [%.*s] and [%.*s]\n",
1364
+        ip_port1.len, ip_port1.s, ip_port2.len, ip_port2.s);
1364 1365
     if ((ip_port1.len == ip_port2.len) && !memcmp(ip_port1.s, ip_port2.s, ip_port1.len)) {
1365 1366
         return 1;
1366 1367
     }
... ...
@@ -1437,7 +1440,8 @@ void create_notifications(udomain_t* _t, impurecord_t* r_passed, str *presentity
1437 1437
         if (event_type == IMS_REGISTRAR_SUBSCRIBE) {
1438 1438
             if (contact_port_ip_match(watcher_contact, &s->watcher_contact) &&
1439 1439
                     (presentity_uri->len == s->presentity_uri.len) && (memcmp(s->presentity_uri.s, presentity_uri->s, presentity_uri->len) == 0)) {
1440
-                LM_DBG("This is a fix to ensure that we only send full reg info XML to the UE that just subscribed. About to make new notification! We always increment the local cseq and version before we send a new notification\n");
1440
+                LM_DBG("This is a fix to ensure that we only send full reg info XML to the UE that just subscribed.\n");
1441
+                LM_DBG("About to make new notification! We always increment the local cseq and version before we send a new notification\n");
1441 1442
 
1442 1443
                 local_cseq = s->local_cseq + 1;
1443 1444
                 version = s->version + 1;