]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/uam.c
Fix build
[netatalk.git] / etc / afpd / uam.c
index 8adfb3bbd9539a9e3daa1b9b9e6f4a871862a269..0d7b6b2b704115033e64092b84144394481c7a14 100644 (file)
@@ -372,7 +372,7 @@ int uam_afpserver_option(void *private, const int what, void *option,
         break;
 
     case UAM_OPTION_SIGNATURE:
-        *buf = (void *) (((AFPConfig *)obj->config)->signature);
+        *buf = (void *)obj->dsi->signature;
         if (len)
             *len = 16;
         break;
@@ -390,10 +390,6 @@ int uam_afpserver_option(void *private, const int what, void *option,
             *len = strlen(obj->options.hostname);
         break;
 
-    case UAM_OPTION_PROTOCOL:
-        *((int *) option) = obj->proto;
-        break;
-        
     case UAM_OPTION_CLIENTNAME:
     {
         struct DSI *dsi = obj->dsi;