From: srittau Date: Fri, 6 Jun 2003 19:41:48 +0000 (+0000) Subject: Fix for afpd debugging by Stefan Muenkner. X-Git-Tag: HEAD-before-afp3-merge~79 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=commitdiff_plain;h=7876e3f35ce55878fbeb2bd3a533bcaeeb1a9aed Fix for afpd debugging by Stefan Muenkner. --- diff --git a/etc/afpd/afp_dsi.c b/etc/afpd/afp_dsi.c index 23053164..8d09e190 100644 --- a/etc/afpd/afp_dsi.c +++ b/etc/afpd/afp_dsi.c @@ -1,5 +1,5 @@ /* - * $Id: afp_dsi.c,v 1.28 2003-05-16 15:29:26 didg Exp $ + * $Id: afp_dsi.c,v 1.29 2003-06-06 19:41:48 srittau Exp $ * * Copyright (c) 1999 Adrian Sun (asun@zoology.washington.edu) * Copyright (c) 1990,1993 Regents of The University of Michigan. @@ -174,7 +174,7 @@ void afp_set_debug (int sig) { char fname[MAXPATHLEN]; - snprintf(fname, MAXPATHLEN-1, "%safpd-debug-%d", P_tmpdir, getpid()); + snprintf(fname, MAXPATHLEN-1, "%s/afpd-debug-%d", P_tmpdir, getpid()); freopen(fname, "w", stdout); child.obj->options.flags |= OPTION_DEBUG;