]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - net.h
net: Rename para_connect_simple() -> para_connect().
[paraslash.git] / net.h
diff --git a/net.h b/net.h
index d19ceb9eb73cd0f98e9a3d3c4784da85b82ad427..e71fe311e60d0ccac59ba626d346b432b3227437 100644 (file)
--- a/net.h
+++ b/net.h
@@ -40,8 +40,7 @@ int makesock(unsigned l4type, bool passive, const char *host,
 int makesock_addrinfo(unsigned l4type, bool passive, struct addrinfo *ai,
                struct flowopts *fo);
 
-static inline int para_connect_simple(unsigned l4type,
-                                     const char *host, uint16_t port)
+static inline int para_connect(unsigned l4type, const char *host, uint16_t port)
 {
        return makesock(l4type, 0, host, port, NULL);
 }