-/*
+/*
Copyright (C) by Ronnie Sahlberg <ronniesahlberg@gmail.com> 2010
This program is free software; you can redistribute it and/or modify
#include <rpc/xdr.h>
#include <arpa/inet.h>
#include <sys/ioctl.h>
-#include "libnfs.h"
+#include "nfs.h"
#include "libnfs-raw.h"
#include "libnfs-private.h"
#include "dlinklist.h"
if (rpc->is_connected == 0) {
events |= POLLOUT;
- }
+ }
if (rpc->outqueue) {
events |= POLLOUT;
rpc_set_error(rpc, "connect() to server failed");
printf("%s\n", rpc->error_string);
return -4;
- }
+ }
return 0;
-}
+}
int rpc_disconnect(struct rpc_context *rpc, char *error)
{