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

Rozdiely pre dead/mail2sms/passwd.c medzi verziami 1.4 a 1.5

verzia 1.4, 2001/11/12 16:08:00 verzia 1.5, 2001/11/12 20:19:10
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.5  2001/11/12 20:19:10  host8
    * http_connect() probably works fine.
    * Some problems with http_requests for www.mtnsms.com.
    *
  * Revision 1.4  2001/11/12 16:08:00  host8   * Revision 1.4  2001/11/12 16:08:00  host8
  * Big improvements in http. connect() doesn't work correctly yet.   * Big improvements in http. connect() doesn't work correctly yet.
  *   *
Riadok 24 
Riadok 28 
 #  include "config.h"  #  include "config.h"
 #endif  #endif
 #include "passwd.h"  #include "passwd.h"
   #include "strings.h"
 #include "mail2sms.h"  #include "mail2sms.h"
   
 #define MAX_LOGIN_LEN 1024  #define MAX_LOGIN_LEN 1024
Riadok 92  static char *get_string(int what, int si
Riadok 97  static char *get_string(int what, int si
                 str[strlen(str) - 1] = '\0';                  str[strlen(str) - 1] = '\0';
                 my_free(home_env);                  my_free(home_env);
                 my_free(filename);                  my_free(filename);
                 return (str);                  return (strrmeol(str));
         } else {          } else {
                 if (fgets(str, MAX_LOGIN_LEN, f) == NULL) {                  if (fgets(str, MAX_LOGIN_LEN, f) == NULL) {
                         fprintf(stderr, "Can't read password from %s!\n", filename);                          fprintf(stderr, "Can't read password from %s!\n", filename);
Riadok 107  static char *get_string(int what, int si
Riadok 112  static char *get_string(int what, int si
                                 fprintf(stderr, "Password readed successfully (%d chars).\n",                                  fprintf(stderr, "Password readed successfully (%d chars).\n",
                                                                                 strlen(str));                                                                                  strlen(str));
 #endif  #endif
                 return (str);                  return (strrmeol(str));
         }          }
         return ("");          return ("");
 }  }

Legend:
Odstranené z verzie1.4  
zmenené riadky
  Pridané vo verzii1.5

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