Skip to content

Commit dda2e00

Browse files
committed
Fixed documentation about Unix Domain Sockt (#2066)
1 parent 321a86d commit dda2e00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ Unix Domain Socket support is available on Linux and macOS.
884884

885885
```c++
886886
// Server
887-
httplib::Server svr("./my-socket.sock");
887+
httplib::Server svr;
888888
svr.set_address_family(AF_UNIX).listen("./my-socket.sock", 80);
889889

890890
// Client

0 commit comments

Comments
 (0)