diff options
author | Johann Latocha | 2012-01-24 20:42:30 +0100 |
---|---|---|
committer | Johann Latocha | 2012-01-24 20:42:30 +0100 |
commit | 90123ef4fbe457642325362ca07fe5b75df3f0c9 (patch) | |
tree | 12654b30e62d0819c54abbceae483800d1d608d1 /src/kernel/core.c | |
parent | Support files > 4GB (diff) | |
download | dnbd3-90123ef4fbe457642325362ca07fe5b75df3f0c9.tar.gz dnbd3-90123ef4fbe457642325362ca07fe5b75df3f0c9.tar.xz dnbd3-90123ef4fbe457642325362ca07fe5b75df3f0c9.zip |
Serving more than one image.
Diffstat (limited to 'src/kernel/core.c')
-rw-r--r-- | src/kernel/core.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kernel/core.c b/src/kernel/core.c index 3b6ce54..3fe88f3 100644 --- a/src/kernel/core.c +++ b/src/kernel/core.c @@ -28,8 +28,9 @@ struct request_queue *dnbd3_queue; spinlock_t dnbd3_lock; // network -char* _host; -char* _port; +char* _host = NULL; +char* _port = NULL; +char* _image_id = NULL; struct socket *_sock; // process |