Browse Source

fixed tabs xD

master
Aaron Marcher 10 years ago
committed by Aaron Marcher (drkhsh)
parent
commit
526955ecda
  1. 3
      slstatus.c

3
slstatus.c

@ -300,8 +300,7 @@ wifi_signal()
fgets(buf, bufsize, fp); fgets(buf, bufsize, fp);
if ((datastart = strstr(buf, "wlp3s0:")) != NULL) { if ((datastart = strstr(buf, "wlp3s0:")) != NULL) {
datastart = strstr(buf, ":"); datastart = strstr(buf, ":");
sscanf(datastart + 1, " %*d %d %*d %*d %*d %*d %*d %*d %*d %*d", sscanf(datastart + 1, " %*d %d %*d %*d %*d %*d %*d %*d %*d %*d", &strength);
&strength);
} }
/* close wifi file */ /* close wifi file */

Loading…
Cancel
Save