cosmetic -- fixed the tabs

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1460 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Daniel Reinhold
2002-10-08 19:10:02 +00:00
parent 96b225d3ec
commit 1d1c11443f
+5 -5
View File
@@ -45,7 +45,7 @@ print_env(char *arg)
if (arg == NULL) {
// print all environment 'key=value' pairs (one per line)
while (*env)
while (*env)
printf("%s\n", *env++);
return 0;
@@ -56,10 +56,10 @@ print_env(char *arg)
int len = strlen(arg);
bool found = false;
while ((s = *env++) != NULL)
if (!strncmp(s, arg, len)) {
char *p = strchr(s, '=');
if (p) {
while ((s = *env++) != NULL)
if (!strncmp(s, arg, len)) {
char *p = strchr(s, '=');
if (p) {
printf("%s\n", p+1);
found = true;
}