1. Paul Barbu - Gheorghe
  2. dwmstatus

Commits

Paul Barbu - Gheorghe  committed 658e349

a smaller timeout value for connecting to mpd

  • Participants
  • Parent commits fe34cf4
  • Branches master

Comments (0)

Files changed (1)

File dwmstatus.c

View file
     const char *name;
     char *retval;
 
-    conn = mpd_connection_new(MPDHOST,MPDPORT, 30000);
+    conn = mpd_connection_new(MPDHOST,MPDPORT, 1000);
 
     if(mpd_connection_get_error(conn) != MPD_ERROR_SUCCESS){
         fprintf(stderr, "%s", mpd_connection_get_error_message(conn));