diff options
| author | David Lamparter <equinox@diac24.net> | 2020-03-27 12:35:23 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2020-07-14 10:37:25 +0200 | 
| commit | 3efd0893d01696b680325679077382992d4eb33f (patch) | |
| tree | aac81fef8b8f5194e8280092f625b3f7b58da73b /ldpd/ldpd.c | |
| parent | 93195af63f5cfcd0745524dc24561c277340a3bc (diff) | |
*: un-split strings across lines
Remove mid-string line breaks, cf. workflow doc:
  .. [#tool_style_conflicts] For example, lines over 80 characters are allowed
     for text strings to make it possible to search the code for them: please
     see `Linux kernel style (breaking long lines and strings)
     <https://www.kernel.org/doc/html/v4.10/process/coding-style.html#breaking-long-lines-and-strings>`_
     and `Issue #1794 <https://github.com/FRRouting/frr/issues/1794>`_.
Scripted commit, idempotent to running:
```
python3 tools/stringmangle.py --unwrap `git ls-files | egrep '\.[ch]$'`
```
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'ldpd/ldpd.c')
| -rw-r--r-- | ldpd/ldpd.c | 15 | 
1 files changed, 5 insertions, 10 deletions
diff --git a/ldpd/ldpd.c b/ldpd/ldpd.c index e3b6f4dfcc..927c3a3c03 100644 --- a/ldpd/ldpd.c +++ b/ldpd/ldpd.c @@ -662,23 +662,19 @@ main_dispatch_lde(struct thread *thread)  			switch (imsg.hdr.type) {  			case IMSG_KPW_ADD:  				if (kmpw_add(imsg.data)) -					log_warnx("%s: error adding " -					    "pseudowire", __func__); +					log_warnx("%s: error adding pseudowire", __func__);  				break;  			case IMSG_KPW_DELETE:  				if (kmpw_del(imsg.data)) -					log_warnx("%s: error deleting " -					    "pseudowire", __func__); +					log_warnx("%s: error deleting pseudowire", __func__);  				break;  			case IMSG_KPW_SET:  				if (kmpw_set(imsg.data)) -					log_warnx("%s: error setting " -					    "pseudowire", __func__); +					log_warnx("%s: error setting pseudowire", __func__);  				break;  			case IMSG_KPW_UNSET:  				if (kmpw_unset(imsg.data)) -					log_warnx("%s: error unsetting " -					    "pseudowire", __func__); +					log_warnx("%s: error unsetting pseudowire", __func__);  				break;  			}  			break; @@ -857,8 +853,7 @@ main_imsg_send_net_socket(int af, enum socket_type type)  	fd = ldp_create_socket(af, type);  	if (fd == -1) { -		log_warnx("%s: failed to create %s socket for address-family " -		    "%s", __func__, socket_name(type), af_name(af)); +		log_warnx("%s: failed to create %s socket for address-family %s", __func__, socket_name(type), af_name(af));  		return;  	}  | 
