summaryrefslogtreecommitdiffstats
path: root/api/src
diff options
context:
space:
mode:
Diffstat (limited to 'api/src')
-rw-r--r--api/src/glfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c
index 64c37abfa65..73c46517dad 100644
--- a/api/src/glfs.c
+++ b/api/src/glfs.c
@@ -351,7 +351,7 @@ glfs_set_volfile_server (struct glfs *fs, const char *transport,
server_cmdline_t *tmp = NULL;
int ret = -1;
- if (!transport || !host || !port) {
+ if (!transport || !host) {
errno = EINVAL;
return ret;
}