Bryan Drewery 21 yıl önce
ebeveyn
işleme
3bb26cb30c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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,