Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 23, 2026

Diff for scripts/cgi/credit/credit.c between version 1.4 and 1.5

version 1.4, 2002/04/05 03:26:58 version 1.5, 2002/10/08 22:44:27
Line 1 
Line 1 
 /*  /*
  * $Id$   * Developed by Ondrej Jombik <nepto@pobox.sk>
    * Copyright (c) 2000-2002 Platon SDG, http://www.platon.sk/
    * $Platon: maxzaw.cgi.c,v 1.4 2002/04/21 10:03:50 jombik9 Exp $
  */   */
 #include<stdio.h>  
 #include<stdlib.h>  
 #include<string.h>  
 #include<ctype.h>  
   
 #include<platon/utils/luhnchk.h>  #include <stdio.h>
   #include <stdlib.h>
   #include <string.h>
   #include <ctype.h>
   
   #include <platon/misc/luhnchk.h>
   
 #define LOGGING                  (1)  #define LOGGING                  (1)
 #define EXTENDED_LOG     (0)  #define EXTENDED_LOG     (0)
Line 14 
Line 17 
 #define CARDSTR_SIZE 30  #define CARDSTR_SIZE 30
   
   
 // copy/paste from strplus.h  /* copy/paste from strplus.h */
 #ifndef __strdel  #ifndef __strdel
 #define __strdel  #define __strdel
 char*strdel(char*s){  char*strdel(char*s){
Line 22  char*strdel(char*s){
Line 25  char*strdel(char*s){
         while(++k,s[k]!='\0')s[k]=s[k+1];          while(++k,s[k]!='\0')s[k]=s[k+1];
         return(s);          return(s);
 }  }
 #endif // #ifndef __strdel  #endif
   
 int main(void){  int main(void)
   {
         char cardstr[CARDSTR_SIZE+1];          char cardstr[CARDSTR_SIZE+1];
         FILE*f;          FILE*f;
         int k=0;          int k=0;
Line 213  int main(void){
Line 217  int main(void){
   
                                 fclose(f);                                  fclose(f);
                         }                          }
                         else ;                          else ;
                         // printf("<small>Failed to save log informations.</small><br>");                          /* printf("<small>Failed to save log informations.</small><br>"); */
                 }                  }
 #endif  #endif
   
         return(0);          return(0);
 }  }
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top