aboutsummaryrefslogtreecommitdiff
path: root/src/util/common_logging.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-06-25 15:37:07 +0000
committerChristian Grothoff <christian@grothoff.org>2010-06-25 15:37:07 +0000
commit94f01bdd2fda575769f01f8072689fa6936af8f4 (patch)
treec2ffd2a36b7babe0b47335f407b3f20e71bb25ba /src/util/common_logging.c
parent2d4ae427e8d2a4bc305c42100d5cb35a75916879 (diff)
downloadgnunet-94f01bdd2fda575769f01f8072689fa6936af8f4.tar.gz
gnunet-94f01bdd2fda575769f01f8072689fa6936af8f4.zip
cleaning argz mess
Diffstat (limited to 'src/util/common_logging.c')
-rw-r--r--src/util/common_logging.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/util/common_logging.c b/src/util/common_logging.c
index 139e9ee3f..7bd39c7ca 100644
--- a/src/util/common_logging.c
+++ b/src/util/common_logging.c
@@ -571,6 +571,20 @@ GNUNET_a2s (const struct sockaddr *addr, socklen_t addrlen)
571void __attribute__ ((constructor)) GNUNET_util_cl_init () 571void __attribute__ ((constructor)) GNUNET_util_cl_init ()
572{ 572{
573 GNUNET_stderr = stderr; 573 GNUNET_stderr = stderr;
574#ifdef MINGW
575 InitWinEnv (NULL);
576#endif
577}
578
579
580/**
581 * Destructor
582 */
583void __attribute__ ((destructor)) GNUNET_util_cl_fini ()
584{
585#ifdef MINGW
586 ShutdownWinEnv ();
587#endif
574} 588}
575 589
576/* end of common_logging.c */ 590/* end of common_logging.c */