Static analyzer bug fixes
[silc.git] / lib / silcclient / client_notify.c
index e855e41294908770b228663fc8bbee824eb79c8f..b1329541daa968e7913405de307956b35d6131b8 100644 (file)
@@ -1491,7 +1491,7 @@ SILC_FSM_STATE(silc_client_notify_error)
 
   /* Get error */
   tmp = silc_argument_get_arg_type(args, 1, &tmp_len);
-  if (!tmp && tmp_len != 1)
+  if (!tmp || tmp_len != 1)
     goto out;
   error = (SilcStatus)tmp[0];