diff options
author | erdgeist <> | 2007-02-09 22:05:10 +0000 |
---|---|---|
committer | erdgeist <> | 2007-02-09 22:05:10 +0000 |
commit | 0e8bff001dd831736a16fc1c6ff36f96a77497af (patch) | |
tree | ab6fdb07b8f101ebe2bad9fab5c4b7b90dda08a1 | |
parent | f3f5eb2be53fa14e84ed563c229098c0fcd290f5 (diff) |
Now obeys ~/.vchat/loginscript
-rwxr-xr-x | vchat-client.c | 2 | ||||
-rwxr-xr-x | vchat.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/vchat-client.c b/vchat-client.c index 2d50932..e0fc214 100755 --- a/vchat-client.c +++ b/vchat-client.c | |||
@@ -163,7 +163,7 @@ static void parseknownhosts(char *line) { | |||
163 | */ | 163 | */ |
164 | 164 | ||
165 | /* load config file */ | 165 | /* load config file */ |
166 | static void | 166 | void |
167 | loadcfg (char *file,void (*lineparser) (char *)) | 167 | loadcfg (char *file,void (*lineparser) (char *)) |
168 | { | 168 | { |
169 | int fd; | 169 | int fd; |
@@ -89,6 +89,7 @@ extern unsigned int loggedin; | |||
89 | #define ERRSTRSIZE 1024 | 89 | #define ERRSTRSIZE 1024 |
90 | extern char errstr[]; | 90 | extern char errstr[]; |
91 | extern char *vchat_cl_version; | 91 | extern char *vchat_cl_version; |
92 | void loadcfg (char *file,void (*lineparser) (char *)); | ||
92 | void cleanup(int signal); | 93 | void cleanup(int signal); |
93 | 94 | ||
94 | /* configuration helper funktions from vchat-client.c */ | 95 | /* configuration helper funktions from vchat-client.c */ |