]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysdep.c
* clientsocket.c: implement socket timeouts for read operations
[citadel.git] / citadel / sysdep.c
index 86534cf078d9b916d07e4b99f689996f825ce8a6..80427374c1dee14e5fe1ba20e15fb5ed43c15748 100644 (file)
@@ -567,7 +567,7 @@ int client_read_to(char *buf, int bytes, int timeout)
  * (This is implemented in terms of client_read_to() and could be
  * justifiably moved out of sysdep.c)
  */
-int client_read(char *buf, int bytes)
+inline int client_read(char *buf, int bytes)
 {
        return(client_read_to(buf, bytes, config.c_sleeping));
 }