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/passwd.c medzi verziami 1.1 a 1.2

verzia 1.1, 2001/10/25 20:05:28 verzia 1.2, 2001/10/27 20:32:43
Riadok 1 
Riadok 1 
 /*  /*
  * Author: Lubomir Host 'rajo' <host8@kepler.fmph.uniba.sk>   * Author: Lubomir Host 'rajo' <host8@kepler.fmph.uniba.sk>
  * $Log$   * $Log$
    * Revision 1.2  2001/10/27 20:32:43  host8
    * mail2sms.c splited to multiple files.
    * Little improvements in Makefile.in.
    *
  * Revision 1.1  2001/10/25 20:05:28  host8   * Revision 1.1  2001/10/25 20:05:28  host8
  * First implementation of login with password.   * First implementation of login with password.
  *   *
Riadok 35  static char *get_string(int what)
Riadok 39  static char *get_string(int what)
         }          }
         site = servers[idx].desc;          site = servers[idx].desc;
 #ifdef DEBUG  #ifdef DEBUG
         fprintf(stderr, "Look for site %s...\n", site);          if (what) {
                   fprintf(stderr, "Looking for passwd for site %s...\n", site);
           } else {
                   fprintf(stderr, "Looking for login for site %s...\n", site);
           }
 #endif  #endif
         home_env = strdup(getenv("HOME"));          home_env = strdup(getenv("HOME"));
         if (home_env == NULL) {          if (home_env == NULL) {
Riadok 65  static char *get_string(int what)
Riadok 73  static char *get_string(int what)
                 return ("");                  return ("");
         }          }
         if (what == 0) {          if (what == 0) {
                 str[strlen(str)] = '\0';                  str[strlen(str) - 1] = '\0';
                 free(home_env);                  free(home_env);
                 free(filename);                  free(filename);
                 return (str);                  return (str);

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