X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=libcitadel%2Flib%2Ftools.c;h=3a5e921b6fd8492b7123287a1e0a3665f41a15b9;hb=570f816b5024916402d429fbcff0f094779a943a;hp=15e346778aad74a2c3909c3425c5f39a9844667a;hpb=02d3300005027b7222e05eec07f51119e3236edf;p=citadel.git diff --git a/libcitadel/lib/tools.c b/libcitadel/lib/tools.c index 15e346778..3a5e921b6 100644 --- a/libcitadel/lib/tools.c +++ b/libcitadel/lib/tools.c @@ -73,12 +73,14 @@ const byte dtable[256] = { 128, 128, 0 }; -/** - * \brief copy a string into a buffer of a known size. abort if we exceed the limits - * \param dest the targetbuffer - * \param src the source string - * \param n the size od dest - * \returns the number of characters copied if dest is big enough, -n if not. +/* + * copy a string into a buffer of a known size. abort if we exceed the limits + * + * dest the targetbuffer + * src the source string + * n the size od dest + * + * returns the number of characters copied if dest is big enough, -n if not. */ int safestrncpy(char *dest, const char *src, size_t n) {