diff options
author | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2015-12-05 20:00:27 +0100 |
---|---|---|
committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2015-12-05 20:00:27 +0100 |
commit | 395d02518ccbdc27318ae676075ee4d91f1515d5 (patch) | |
tree | be4adabae8ccab52113198b7b01b7a17fee0244c /src/print_wireless_info.c | |
parent | 876c1cef8d182ae1898368b415cf67dede279036 (diff) | |
parent | dcd0518e25d7aa84a720780cb70b3f8fca867972 (diff) |
Merge pull request #72 from ixjlyons/pango-setting
Implement a pango option
Diffstat (limited to 'src/print_wireless_info.c')
-rw-r--r-- | src/print_wireless_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print_wireless_info.c b/src/print_wireless_info.c index aff0438..4f92507 100644 --- a/src/print_wireless_info.c +++ b/src/print_wireless_info.c @@ -519,7 +519,7 @@ void print_wireless_info(yajl_gen json_gen, char *buffer, const char *interface, if (BEGINS_WITH(walk + 1, "essid")) { if (info.flags & WIRELESS_INFO_FLAG_HAS_ESSID) - outwalk += sprintf(outwalk, "%s", info.essid); + maybe_escape_markup(info.essid, &outwalk); else *(outwalk++) = '?'; walk += strlen("essid"); |