summaryrefslogtreecommitdiff
path: root/source4/lib/popt/findme.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-02-24 06:49:59 +0000
committerStefan Metzmacher <metze@samba.org>2004-02-24 06:49:59 +0000
commit2027b1922b01d3b6af17d24ae51d33cc7048d27d (patch)
tree9a67d0c513d5ea77217bbea21f1a4e005e03f7cd /source4/lib/popt/findme.c
parent8105eb67881140da072bc7f5ad760e1569a56859 (diff)
downloadsamba-2027b1922b01d3b6af17d24ae51d33cc7048d27d.tar.gz
samba-2027b1922b01d3b6af17d24ae51d33cc7048d27d.tar.bz2
samba-2027b1922b01d3b6af17d24ae51d33cc7048d27d.zip
let the popt replacement stuff survive a make proto
metze (This used to be commit 0f1c6dd631c7a1d4be333b8e3e4ce9850752d5c2)
Diffstat (limited to 'source4/lib/popt/findme.c')
-rw-r--r--source4/lib/popt/findme.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/popt/findme.c b/source4/lib/popt/findme.c
index f2ad05bb3f..67a535ac65 100644
--- a/source4/lib/popt/findme.c
+++ b/source4/lib/popt/findme.c
@@ -5,7 +5,8 @@
#include "system.h"
#include "findme.h"
-const char * findProgramPath(const char * argv0) {
+ const char * findProgramPath(const char * argv0)
+{
char * path = getenv("PATH");
char * pathbuf;
char * start, * chptr;