nbd/no-return-nonvoid.patch

13 lines
348 B
Diff
Raw Normal View History

Index: nbd-3.10/nbd-server.c
===================================================================
--- nbd-3.10.orig/nbd-server.c
+++ nbd-3.10/nbd-server.c
@@ -1525,6 +1525,7 @@ CLIENT* negotiate(int net, GArray* serve
err_nonfatal("Session terminated by client");
return NULL;
}
+ return NULL;
}
void send_export_info(CLIENT* client) {