Hello again.

I've noticed that field file_mode from structure dazuko_access is always
unset. I don't know if it is done this way on purpose, but anyway, since
I've already hacked the changes for my own purpose, I post them here.

The key/value pair already exists and it is "FM=xxx". It is passed to
user space on function dazuko_handle_request_get_an_access. Is
missing the corresponding code to read the value in function
dazukoGetAccess_TS.


--- dazuko-2.1.0.orig/dazukoio_core.c   2005-07-05 21:57:25.000000000
+0200
+++ dazuko-2.1.0/dazukoio_core.c        2006-01-02 16:40:30.000000000
+0100
@@ -910,6 +910,11 @@
                        temp_acc->file_device = atoi(buffer);
                        temp_acc->set_file_device = 1;
                }
+               if (dazuko_get_value("\nFM=", request->reply_buffer,
buffer, sizeof(buffer)) == 0)
+               {
+                       temp_acc->file_mode = atoi(buffer);
+                       temp_acc->set_file_mode = 1;
+               }
        }

        free_request(&request);


_______________________________________________
Dazuko-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/dazuko-devel

Reply via email to