Bryan Drewery 21 лет назад
Родитель
Сommit
d99cf4f414
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      src/binary.c

+ 5 - 5
src/binary.c

@@ -262,7 +262,7 @@ static void edpack(settings_t *incfg, const char *hash, int what)
 #undef dofield
 #undef dofield
 }
 }
 
 
- 
+/* 
 static void
 static void
 tellconfig(settings_t *incfg)
 tellconfig(settings_t *incfg)
 {
 {
@@ -292,7 +292,7 @@ tellconfig(settings_t *incfg)
   dofield(incfg->portmax);
   dofield(incfg->portmax);
 #undef dofield
 #undef dofield
 }
 }
-
+*/
 
 
 void
 void
 check_sum(const char *fname, const char *cfgfile)
 check_sum(const char *fname, const char *cfgfile)
@@ -308,16 +308,16 @@ check_sum(const char *fname, const char *cfgfile)
 
 
     readcfg(cfgfile);
     readcfg(cfgfile);
 
 
- tellconfig(&settings); 
+// tellconfig(&settings); 
     if (bin_md5(fname, WRITE_MD5, &ctx))
     if (bin_md5(fname, WRITE_MD5, &ctx))
       printf("* Wrote settings to binary.\n"); 
       printf("* Wrote settings to binary.\n"); 
     exit(0);
     exit(0);
   } else {
   } else {
     char *hash = bin_md5(fname, GET_MD5, &ctx);
     char *hash = bin_md5(fname, GET_MD5, &ctx);
 
 
- tellconfig(&settings); 
+// tellconfig(&settings); 
     edpack(&settings, hash, PACK_DEC);
     edpack(&settings, hash, PACK_DEC);
- tellconfig(&settings); 
+// tellconfig(&settings); 
 
 
     if (strcmp(settings.hash, hash)) {
     if (strcmp(settings.hash, hash)) {
       unlink(fname);
       unlink(fname);