Release notes are done.
[metze/wireshark/wip.git] / update.c
index f3969f6ccb2d9aa2a3c6d8334c62ebd11160771d..13bb7adfbe325f51e03a37e40d4701e424edfaaf 100644 (file)
--- a/update.c
+++ b/update.c
@@ -22,9 +22,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include "config.h"
 
 #include <glib.h>
 #include <string.h>
@@ -303,7 +301,7 @@ update_check(gboolean interactive)
 
     /* build update file name */
     /* XXX - using the personal path, use temp dir instead? */
-    local_file = get_persconffile_path("wsupdate", FALSE, TRUE /*for_writing*/);
+    local_file = get_persconffile_path("wsupdate", FALSE);
     if(local_file == NULL) {
         g_warning("Couldn't create output path!");
         return;