masqmail-0.2

diff src/expand.c @ 15:f671821d8222

code beautifying; 0 -> \0 if appropriate
author meillo@marmaro.de
date Thu, 06 Nov 2008 09:18:38 +0100
parents 26e34ae9a3e3
children
line diff
     1.1 --- a/src/expand.c	Wed Oct 29 21:21:26 2008 +0100
     1.2 +++ b/src/expand.c	Thu Nov 06 09:18:38 2008 +0100
     1.3 @@ -96,7 +96,7 @@
     1.4  					j++;
     1.5  				}
     1.6  			}
     1.7 -			*vq = 0;
     1.8 +			*vq = '\0';
     1.9  
    1.10  			if (j < MAX_VAR) {
    1.11  				/* search var */
    1.12 @@ -120,7 +120,7 @@
    1.13  			p++;
    1.14  		}
    1.15  	}
    1.16 -	*q = 0;
    1.17 +	*q = '\0';
    1.18  
    1.19  	if (i >= (result_len - 1))
    1.20  		return -3;