Skip to content

Commit

Permalink
Wifi: fix the default output formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterLi committed Jan 24, 2023
1 parent ebe3039 commit 298d091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/wifi.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ void ffPrintWifi(FFinstance* instance)
{
ffStrbufWriteTo(&item->conn.ssid, stdout);
if(item->conn.protocol.length)
printf("- %s", item->conn.protocol.chars);
printf(" - %s", item->conn.protocol.chars);
if(item->conn.security.length)
printf("- %s", item->conn.security.chars);
printf(" - %s", item->conn.security.chars);
putchar('\n');
}
else
Expand Down

0 comments on commit 298d091

Please sign in to comment.