From: yoe Date: Tue, 6 Jun 2006 16:39:36 +0000 (+0000) Subject: r165: Remove outdated comments X-Git-Url: http://git.alex.org.uk r165: Remove outdated comments --- diff --git a/configure.ac b/configure.ac index 568f661..15fb669 100644 --- a/configure.ac +++ b/configure.ac @@ -67,10 +67,6 @@ case "`uname`" in *) AC_MSG_RESULT(no) ;; esac AC_MSG_CHECKING(where to find a working nbd.h) -dnl We need to check for NBD_CMD_DISC, but that's part of an enum, it is not -dnl #define'd. Therefore, we check for something which is differently #define'd -dnl in the old or new versions, even if we don't really care about that. -dnl This might break at some time, but it should work for now, so... AC_TRY_COMPILE([#define u32 int #define u64 int #include "nbd.h" diff --git a/nbd-server.c b/nbd-server.c index 7229eb7..c21e3c6 100644 --- a/nbd-server.c +++ b/nbd-server.c @@ -946,8 +946,8 @@ int splitexport(CLIENT* client) { } return 0; } -int copyonwrite_prepare(CLIENT* client) -{ + +int copyonwrite_prepare(CLIENT* client) { off_t i; if ((client->difffilename = malloc(1024))==NULL) err("Failed to allocate string for diff file name");