1. William Giokas
  2. dwmstatus

Commits

William Giokas  committed 25c26ca

I am retarded.

Signed-off-by: William Giokas <1007380@gmail.com>

  • Participants
  • Parent commits ee0fe05
  • Branches working

Comments (0)

Files changed (1)

File dwmstatus.c

View file
     char *batt = NULL;
     char *net = NULL;
     char *temp = NULL;
-    char *ipaddr = NULL;
     time_t count60 = 0;
     time_t count10 = 0;
 
 	for (;;sleep(1)) {
         if (runevery(&count60, 60)) {
             free(tmchi);
-            free(ipaddr);
 
 		    tmchi  = mktimes("%Y/%d/%m %H:%M", tzchicago);
-            ipaddr = get_ip_addr("wlan0");
         }
         if (runevery(&count10, 10)) {
             free(avgs);