test/run_storage: initialize WinSock

This commit is contained in:
Max Kellermann 2018-02-24 22:33:30 +01:00
parent 5b80711d75
commit 50ce0c0d9d

View File

@ -23,6 +23,7 @@
#include "storage/Registry.hxx"
#include "storage/StorageInterface.hxx"
#include "storage/FileInfo.hxx"
#include "net/Init.hxx"
#include <memory>
#include <stdexcept>
@ -95,6 +96,7 @@ try {
const char *const command = argv[1];
const char *const storage_uri = argv[2];
const ScopeNetInit net_init;
const ScopeIOThread io_thread;
if (strcmp(command, "ls") == 0) {