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

List:       kde-commits
Subject:    kdelibs/dcop/dcopidl2cpp
From:       David Faure <faure () kde ! org>
Date:       2004-09-06 21:20:15
Message-ID: 20040906212015.47243175F () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Fixed crash when using "dcopidl2cpp" without arguments.


  M +4 -1      main.cpp   1.23


--- kdelibs/dcop/dcopidl2cpp/main.cpp  #1.22:1.23
@@ -46,4 +46,8 @@ int main( int argc, char** argv )
         exit(1);
     }
+    if ( argc < 2 ) {
+        usage();
+        return 1;
+    }
     int argpos = 1;
     bool generate_skel    = true;


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

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