sd-pppoe: use strna() instead of strempty()

In cases where we use for instance. log_debug() with a statement + string
it is better to output (Service-name: N/A) instead of (Service-name: )
This commit is contained in:
Daniel Buch
2015-09-30 23:16:13 +02:00
parent 8abf529156
commit 8b66ad178c
+1 -1
View File
@@ -385,7 +385,7 @@ static int pppoe_send_initiation(sd_pppoe *ppp) {
return r;
log_debug("PPPoE: sent DISCOVER (Service-Name: %s)",
strempty(ppp->service_name));
strna(ppp->service_name));
pppoe_arm_timeout(ppp);