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 wrap: on
line diff
--- a/src/expand.c	Wed Oct 29 21:21:26 2008 +0100
+++ b/src/expand.c	Thu Nov 06 09:18:38 2008 +0100
@@ -96,7 +96,7 @@
 					j++;
 				}
 			}
-			*vq = 0;
+			*vq = '\0';
 
 			if (j < MAX_VAR) {
 				/* search var */
@@ -120,7 +120,7 @@
 			p++;
 		}
 	}
-	*q = 0;
+	*q = '\0';
 
 	if (i >= (result_len - 1))
 		return -3;