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 |
|
|
| /* |
/* |
| * $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) |
|
|
| #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; |
|
|
| |
|
| 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); |
| } |
} |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|