/*
* ion/mod_sm/sm.c
*
- * Copyright (c) Tuomo Valkonen 2004-2006.
+ * Copyright (c) Tuomo Valkonen 2004-2007.
*
* Ion is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by
#include <libtu/misc.h>
#include <libtu/parser.h>
#include <libtu/tokenizer.h>
+#include <libtu/util.h>
#include <ioncore/common.h>
#include <ioncore/global.h>
* to the session.
*/
if(smdir!=NULL){
- tmp=scat(smdir, "/ion3"); /* TODO: pwm<=>ion! */
+ tmp=scat3(smdir, "/", libtu_progbasename());
}else if(id!=NULL){
tmp=scat("gnome-session-", id);
if(tmp!=NULL){