Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Nedeľa, 25. október 2026

Rozdiely pre dead/mail2sms/mail.c medzi verziami 1.1 a 1.2

verzia 1.1, 2001/10/27 20:32:43 verzia 1.2, 2001/10/30 17:24:02
Riadok 1 
Riadok 1 
 #include <stdio.h>  #include <stdio.h>
 #include <string.h>  #include <string.h>
   #include <stdlib.h>
   
 #include "config.h"  #include "config.h"
 #include "mail2sms.h"  #include "mail2sms.h"
Riadok 49  void analyze_mail(char *str)
Riadok 50  void analyze_mail(char *str)
                 }                  }
                 else {                  else {
                         fprintf(stderr, "NO SMS SEND: '%s'\n", str);                          fprintf(stderr, "NO SMS SEND: '%s'\n", str);
                         free(pom);                          my_free(pom);
                         void_read_at_exit();                          void_read_at_exit();
                         exit(0);                          exit(0);
                 }                  }
Riadok 58  void analyze_mail(char *str)
Riadok 59  void analyze_mail(char *str)
         if (pom == strstr(pom, "content-type: ") && g.is_header&&1) {          if (pom == strstr(pom, "content-type: ") && g.is_header&&1) {
                 if (pom != strstr(pom, "content-type: text/plain;")) {                  if (pom != strstr(pom, "content-type: text/plain;")) {
                         fprintf(stderr, "NO SMS SEND: '%s'\n", str);                          fprintf(stderr, "NO SMS SEND: '%s'\n", str);
                         free(pom);                          my_free(pom);
                         void_read_at_exit();                          void_read_at_exit();
                         exit(0);                          exit(0);
                 }                  }
         }          }
   
         free(pom);          my_free(pom);
   
         if (str == strstr(str, "---------- Forwarded message ----------")) {          if (str == strstr(str, "---------- Forwarded message ----------")) {
                 g.is_header=1;                  g.is_header=1;
Riadok 87  void analyze_mail(char *str)
Riadok 88  void analyze_mail(char *str)
   
         return;          return;
 } // }}}  } // }}}
   /* Modeline for ViM {{{1
    * vim:set ts=4:
    * vim600:fdm=marker fdl=0 fdc=3:
    * }}}1 */

Legend:
Odstranené z verzie1.1  
zmenené riadky
  Pridané vo verzii1.2

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok