Commit 123ca3a3 123ca3a362e8415f07127a188e74a458f9efb33f by Alain Magloire

* mailbox/wicket.c (_get_ticket): Reset the buffer.

1 parent babebed6
2001-11-14 Alain Magloire
* mailbox/wicket.c (_get_ticket): Reset the buffer.
2001-11-14 Alain Magloire
To provide an easy way to crete a ticket_t from
a file, one can create a wicket_t and fetch ticket_t's
for different users to set on the authority.
......
......@@ -14,6 +14,7 @@
You should have received a copy of the GNU Library General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
......@@ -155,7 +156,7 @@ _get_ticket (ticket_t *pticket, const char *filename, const char *user)
ptr = buf + len;
continue;
}
else
ptr = buf;
/* Comments. */
......@@ -183,6 +184,7 @@ _get_ticket (ticket_t *pticket, const char *filename, const char *user)
break;
}
}
ptr = buf;
}
}
else
......