Quoted output displaystrs.

This commit is contained in:
mark 2002-04-15 18:20:28 +00:00
parent dc517150b0
commit d90f51dea8
3 changed files with 9 additions and 3 deletions

View File

@ -42,6 +42,10 @@
*
* --------------------------------------------------------------------
0.1.14
-pre3
- Per mwelk's suggestion, changed the displaystring totext to single
quote the strings. Hopefully this will take care of some of the
"SSID w/ space" problems.
-pre2
- tseward's ID code patch for Siemens SpeedStream USB adapters.
- pizza's patch for dropping/ignoring frames in promisc and allmulti

1
THANKS
View File

@ -78,6 +78,7 @@ David Brownell <david-b@pacbell.net>
Henri Muurimaa <hezamu@tuug.fi>
Bryan Huang <bryan.huang@bromax.com.tw>
Tony Seward <anthony.seward@ieee.org>
Matthias Welk <welk@fokus.gmd.de>
[Many, many more. If I've overlooked you and you want to be listed here,
send me e-mail and I'll fix it. I _know_ a bunch of linux-wlan contributors

View File

@ -249,17 +249,18 @@ void p80211_totext_displaystr( catlistitem_t *metalist, UINT32 did, UINT8 *itemb
pstr = (p80211pstrd_t*)item->data;
if ( item->did != 0UL ) {
sprintf( textbuf, "%s=", meta->name);
sprintf( textbuf, "%s=\'", meta->name);
strncat( textbuf, pstr->data, pstr->len);
strncat( textbuf, "\'", 1);
} else {
sprintf( textbuf, "%s=%s", meta->name,
sprintf( textbuf, "%s=\'%s\'", meta->name,
NOT_SUPPORTED);
}
} else {
char error_msg[MSG_BUFF_LEN];
p80211_error2text( item->status, error_msg);
sprintf( textbuf, "%s=\"%s\"", meta->name,
sprintf( textbuf, "%s=\'%s\'", meta->name,
error_msg);
}
} else {