[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenetwork/ktalkd/ktalkd
From:       Marc Espie <espie () nerim ! net>
Date:       2003-01-27 18:50:46
[Download RAW message or body]

CVS commit by espie: 

execl(..., (void *)0)


  M +4 -4      announce.cpp   1.20


--- kdenetwork/ktalkd/ktalkd/announce.cpp  #1.19:1.20
@@ -234,7 +234,7 @@ int try_Xannounce(NEW_CTL_MSG *request, 
 
                 if (callee)
-                    execl( extprg, extprg, line_buf, callee, NULL );
+                    execl( extprg, extprg, line_buf, callee, (void *)0 );
                 else
-                    execl( extprg, extprg, line_buf, NULL );
+                    execl( extprg, extprg, line_buf, (void *)0 );
 
                 /*
@@ -474,7 +474,7 @@ int play_sound(int usercfg)
 
      if (strlen(sSoundPlayerOpt)>0)
-         returncode = execl(sSoundPlayer,sSoundPlayer/*arg0*/,sSoundPlayerOpt,sSoundFile,NULL);
+         returncode = execl(sSoundPlayer,sSoundPlayer/*arg0*/,sSoundPlayerOpt,sSoundFile, (void *)0);
      else
-         returncode = execl(sSoundPlayer,sSoundPlayer/*arg0*/,sSoundFile,NULL);
+         returncode = execl(sSoundPlayer,sSoundPlayer/*arg0*/,sSoundFile, (void *)0);
 
      debug(strerror(errno));


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic