Subversion Repositories public

Rev

Rev 43 | Rev 52 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 43 Rev 47
Line 68... Line 68...
68
{
68
{
69
int tag,mon,year,i,j,pos,len,punkt;
69
int tag,mon,year,i,j,pos,len,punkt;
70
char zw[21],hv0[21];
70
char zw[21],hv0[21];
71
char *beg,*end;
71
char *beg,*end;
72
 
72
 
73
	if (strlen (sdate) < 6)
73
	if (sdate == NULL || strlen (sdate) < 6)
74
	   return -1L;
74
	   return -1L;
75
 
75
 
76
	if (strchr (sdate,'.') != NULL)
76
	if (strchr (sdate,'.') != NULL)
77
	   punkt = 1;
77
	   punkt = 1;
78
	else
78
	else