[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lost] [PATCH] ! lostio: Im Unlink-Handler auch pruefen ob der Pointer fuer unlink != NULL ist, nicht der fuer link
---
src/modules/lib/lostio/handler.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/modules/lib/lostio/handler.c b/src/modules/lib/lostio/handler.c
index 1a6fc0c..983a13f 100644
--- a/src/modules/lib/lostio/handler.c
+++ b/src/modules/lib/lostio/handler.c
@@ -448,7 +448,7 @@ void rpc_io_unlink(pid_t pid, dword correlation_id, size_t data_size, void* data
}
// Typ-Handle fuer Verzeichnis holen
typehandle_t* typehandle = get_typehandle(dir_filehandle->node->type);
- if((typehandle != NULL) && (typehandle->link != NULL))
+ if((typehandle != NULL) && (typehandle->unlink != NULL))
{
int result = typehandle->unlink(dir_filehandle, unlink_request->name);
if (result != 0) {