X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libatalk%2Futil%2Fnetatalk_conf.c;h=3e775e11a618601ed881ea776e337026fe721f65;hb=15a36f067598fbad66a6d6b6f7909c6b656071c2;hp=ff2ccb7adc91b3c0478502df6f5f4cd8c33d701e;hpb=cf671eb6c9749a558b55155cdd6cbb2a65703d30;p=netatalk.git diff --git a/libatalk/util/netatalk_conf.c b/libatalk/util/netatalk_conf.c index ff2ccb7a..3e775e11 100644 --- a/libatalk/util/netatalk_conf.c +++ b/libatalk/util/netatalk_conf.c @@ -598,13 +598,13 @@ static struct vol *creatvol(AFPObj *obj, * we don't change options for volumes once they're loaded */ vol->v_deleted = 0; + volume = vol; EC_EXIT_STATUS(0); } if (STRCMP(path, ==, vol->v_path)) { LOG(log_note, logtype_afpd, "volume \"%s\" path \"%s\" is the same as volumes \"%s\" path", name, path, vol->v_configname); EC_EXIT_STATUS(0); - } /* * We could check for nested volume paths here, but