diff options
author | Eion Robb <eion@robbmob.com> | 2011-02-10 12:50:40 +0300 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2011-02-10 12:50:40 +0300 |
commit | 475c2f3e16820954adbe5f7b208f6f80ae700797 (patch) | |
tree | 0a1acf9afee85e53648e5e4bc78b6e84b04f4964 /skype_messaging_dbus.c | |
parent | a5b633b6e7d89d9c60ef9c32699e02b226934aab (diff) |
Fix crash when trying to detect whether skype is running with a process running with more than 15 characters to its name length. Fixes issue 143
Diffstat (limited to 'skype_messaging_dbus.c')
-rw-r--r-- | skype_messaging_dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skype_messaging_dbus.c b/skype_messaging_dbus.c index 1dfc35c..5369d4b 100644 --- a/skype_messaging_dbus.c +++ b/skype_messaging_dbus.c @@ -143,7 +143,7 @@ is_skype_running() int pid; gchar* stat_path; FILE *fh; - gchar exec_name[15]; + gchar exec_name[16]; struct stat *statobj = g_new(struct stat, 1); //open /proc GDir *procdir = g_dir_open("/proc", 0, NULL); |