Bryan Drewery hace 21 años
padre
commit
3bb26cb30c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/socket.c

+ 1 - 1
src/socket.c

@@ -64,7 +64,7 @@ static connect_info_t *attach(int idx, const char *host, int port, int timeout)
                 char buf[128];
                 egg_timeval_t howlong;
 
-                snprintf(buf, sizeof(buf), "idx %d to %s/%d", idx, host, port);
+                egg_snprintf(buf, sizeof(buf), "idx %d to %s/%d", idx, host, port);
                 howlong.sec = timeout;
                 howlong.usec = 0;
                 connect_info->timer_id = timer_create_complex(&howlong, buf,