]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_dsi.c
netatalk: fix a crash on Solaris when registering with mDNS
[netatalk.git] / etc / afpd / afp_dsi.c
index 8b5187b881778ee398e8c4c62ae428eba43e7f01..e3823de594b7d3f651d203e979df400a496644ae 100644 (file)
@@ -547,7 +547,7 @@ void afp_over_dsi(AFPObj *obj)
 
         if (reload_request) {
             reload_request = 0;
-            load_volumes(AFPobj, lv_none);
+            load_volumes(AFPobj, lv_force);
         }
 
         /* The first SIGINT enables debugging, the next restores the config */
@@ -641,7 +641,7 @@ void afp_over_dsi(AFPObj *obj)
                     replaycache[rc_idx].AFPcommand = function;
                     replaycache[rc_idx].result = err;
                 } else {
-                    LOG(log_error, logtype_afpd, "bad function %X", function);
+                    LOG(log_maxdebug, logtype_afpd, "bad function %X", function);
                     dsi->datalen = 0;
                     err = AFPERR_NOOP;
                 }