X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcstrutil.c;h=5ba4c02e271d22d1a8d4731e8d67a475d22fc69a;hp=db912fe3204b99ba3dcff8fedd3871760baf786e;hb=9905799a86c606304fd7df2cd401de1740a272a1;hpb=f3b43606c546a86a43b283b46464972296e1e271 diff --git a/lib/silcutil/silcstrutil.c b/lib/silcutil/silcstrutil.c index db912fe3..5ba4c02e 100644 --- a/lib/silcutil/silcstrutil.c +++ b/lib/silcutil/silcstrutil.c @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 2002 - 2006 Pekka Riikonen + Copyright (C) 2002 - 2007 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -170,6 +170,15 @@ unsigned char *silc_pem_decode(unsigned char *pem, SilcUInt32 pem_len, return data; } +#ifndef HAVE_SNPRINTF +/* Outputs string according to the `format'. */ + +int silc_snprintf(char *str, SilcUInt32 size, const char *format, ...) +{ + +} +#endif /* HAVE_SNPRINTF */ + /* Concatenates the `src' into `dest'. If `src_len' is more than the size of the `dest' (minus NULL at the end) the `src' will be truncated to fit. */