fixed tabs xD

This commit is contained in:
Aaron Marcher 2016-03-08 18:39:18 +01:00 committed by Aaron Marcher (drkhsh)
parent 4c67ce861b
commit 526955ecda
1 changed files with 91 additions and 92 deletions

View File

@ -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 */