X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fnetwork%2Fio.c;h=217d971f1f6fa01670f481f4170addb4635622f3;hb=5eedc2aec432ba05d7e33920a035b85b1af5c0b0;hp=52877c0e495b99d6491becfcdf0c5d2b810ec140;hpb=9242bbe164af2629b2746bbdebb80f5ced1f307d;p=vlc diff --git a/src/network/io.c b/src/network/io.c index 52877c0e49..217d971f1f 100644 --- a/src/network/io.c +++ b/src/network/io.c @@ -487,8 +487,8 @@ error: #undef net_Gets /** * Reads a line from a file descriptor. - * This function is not thread-safe; the same file descriptor cI/O annot be read - * by another thread at the same time (although it can be written to). + * This function is not thread-safe; the same file descriptor I/O cannot be + * read by another thread at the same time (although it can be written to). * * @return nul-terminated heap-allocated string, or NULL on I/O error. */ @@ -532,6 +532,7 @@ char *net_Gets( vlc_object_t *p_this, int fd, const v_socket_t *p_vs ) return psz_line; } +#undef net_Printf ssize_t net_Printf( vlc_object_t *p_this, int fd, const v_socket_t *p_vs, const char *psz_fmt, ... ) {