summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-09-03 20:16:23 +0200
committerSimon Rettberg2019-09-03 20:16:23 +0200
commitfaf0e758b30ca0598713ee9898aa85360d36a4e4 (patch)
treeedb48b84246fc48ac01daaa8bfe31f736fbea6a7
parent[SERVER] Fix image_updateCachemap() (diff)
downloaddnbd3-faf0e758b30ca0598713ee9898aa85360d36a4e4.tar.gz
dnbd3-faf0e758b30ca0598713ee9898aa85360d36a4e4.tar.xz
dnbd3-faf0e758b30ca0598713ee9898aa85360d36a4e4.zip
[SERVER] Fix indentation
-rw-r--r--src/server/image.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/image.c b/src/server/image.c
index 484a28f..bdb910d 100644
--- a/src/server/image.c
+++ b/src/server/image.c
@@ -407,10 +407,10 @@ dnbd3_image_t* image_get(char *name, uint16_t revision, bool checkIfWorking)
img->users = 0;
image_free( img );
}
- // Check if image is incomplete, initialize uplink
- if ( candidate->ref_cacheMap != NULL ) {
- uplink_init( candidate, -1, NULL, -1 );
- }
+ // Check if image is incomplete, initialize uplink
+ if ( candidate->ref_cacheMap != NULL ) {
+ uplink_init( candidate, -1, NULL, -1 );
+ }
// readFd == -1 and working == FALSE at this point,
// this function needs some splitting up for handling as we need to run most
// of the above code again. for now we know that the next call for this