[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Cleanup use of strlen() to check for empty string


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Jacob Gorm Hansen <jacobg@xxxxxxx>
  • Date: Wed, 5 Oct 2005 00:50:20 +0200
  • Delivery-date: Tue, 04 Oct 2005 22:47:55 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type; b=nd9NZxxTsCUrgepRlMOoJ48yTAXeOzIhgbVumynxURwv1FmBlDMAWueIVywfrOA+dv09uTyqn0FjpVIKZ1yG6VNecsL9zUUlcr0iQ4AgyDQTInVn/rRFEZ/my9R1Vi/Z1C51YDwt4b+fKQstQL0BU+N/4/gAD7XCmenLuVa4QW8=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

I came across checks for strlen(s)==0 a few places in drivers/xen.
Here is a patch to fix that.

Jacob
--
Save time and bandwidth with EDelta: http://www.diku.dk/~jacobg/edelta/

Attachment: strlen_cleanup.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.