Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix build issue

Pointed out by Frank Jeschke <jes@hostis.de>
  • Loading branch information...
commit c247ba0bcf672c9997048b7cabaa6c92d0e6adfc 1 parent a8b5255
@gregkh authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 bti.c
View
14 bti.c
@@ -1205,7 +1205,7 @@ int main(int argc, char *argv[], char *envp[])
{ "retweet", 1, NULL, 'w' },
{ }
};
- struct stat s;
+ struct stat s;
struct session *session;
pid_t child;
char *tweet;
@@ -1240,12 +1240,12 @@ int main(int argc, char *argv[], char *envp[])
/* We have a home dir, so this might be a user */
session->homedir = strdup(home);
- /* if '.config/' exists, use XDG standard, else don't */
- if (-1 == stat("~/.config"), &s) {
- config_file = config_xdg_default;
- } else {
- config_file = config_user_default;
- }
+ /* if '.config/' exists, use XDG standard, else don't */
+ if (-1 == stat("~/.config", &s)) {
+ config_file = config_xdg_default;
+ } else {
+ config_file = config_user_default;
+ }
} else {
session->homedir = strdup("");
config_file = config_default;
Please sign in to comment.
Something went wrong with that request. Please try again.